Hello,

I saw XCode 8 was released so i duplicated my XCode install and updated it. 
CMake now fails if I use xcode-select -s to choose the old XCode. It seems that 
if the XCode path has a space in it it fails.

i.e.

With "xcode-select -s /Applications/Xcode\ copy.app/Contents/Developer":

$ cmake -GXcode ../src/
-- The C compiler identification is AppleClang 7.3.0.7030031
-- The CXX compiler identification is AppleClang 7.3.0.7030031
CMake Error at CMakeLists.txt:71 (project):
  No CMAKE_C_COMPILER could be found.



CMake Error at CMakeLists.txt:71 (project):
  No CMAKE_CXX_COMPILER could be found.



-- Configuring incomplete, errors occurred!

With "xcode-select -s /Applications/Xcode2.app/Contents/Developer" it is fine 
and this is a reasonable workaround for me.

Harry

Harry Mallon
CODEX | Software Engineer
60 Poland Street | London | England | W1F 7NT
E [email protected] | T +44 203 7000 989
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to