[cmake-developers] [CMake 0015110]: cmake doesn't handle spaces in xcode paths correctly
Mantis Bug Tracker
mantis at public.kitware.com
Tue Aug 26 08:03:06 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15110
======================================================================
Reported By: tim blechmann
Assigned To:
======================================================================
Project: CMake
Issue ID: 15110
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-08-26 08:03 EDT
Last Modified: 2014-08-26 08:03 EDT
======================================================================
Summary: cmake doesn't handle spaces in xcode paths correctly
Description:
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"
Steps to Reproduce:
* rename xcode to Xcode\ 2.app
* change the xcode location: xcode-select -s /Applications/Xcode\ 2.app/
* configure a project with -GXcode
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-08-26 08:03 tim blechmann New Issue
======================================================================
More information about the cmake-developers
mailing list