MantisBT - CMake
View Issue Details
0015110CMakeCMakepublic2014-08-26 08:032016-06-10 14:31
tim blechmann 
Kitware Robot 
normalminoralways
closedmoved 
CMake 3.0.1 
 
0015110: cmake doesn't handle spaces in xcode paths correctly
on osx, it is possible to rename Xcode.app and change use xcode-select to set the path. this causes problems like:

-- The C compiler identification is AppleClang 5.1.0.5030040
-- The CXX compiler identification is AppleClang 5.1.0.5030040
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/local/Cellar/cmake/3.0.1/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "/usr/bin/cc" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: /Volumes/dev/b/CMakeFiles/CMakeTmp



  Run Build Command:"/usr/bin/make" "cmTryCompileExec2598135141/fast"
* rename xcode to Xcode\ 2.app
* change the xcode location: xcode-select -s /Applications/Xcode\ 2.app/
* configure a project with -GXcode
No tags attached.
Issue History
2014-08-26 08:03tim blechmannNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042613
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042613)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.