MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0013694 | CMake | CMake | public | 2012-11-16 19:03 | 2016-06-10 14:31 | |||||
Reporter | Jevin Sweval | |||||||||
Assigned To | Kitware Robot | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | moved | |||||||
Platform | Apple | OS | Mac OS X | OS Version | 10.8.2 | |||||
Product Version | CMake 2.8.10.1 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0013694: CMAKE_OSX_SYSROOT isn't quoted, breaking builds when the SDK path contains a space | |||||||||
Description | CMAKE_OSX_SYSROOT is eventually consumed by cmLocalGenerator::AddArchitectureFlags which will generate something like '-isysroot $SYSROOT' I keep multiple versions of Xcode around in /Applications/Xcode $version.app/ so the sysroot path will contain a space. The fix (for my case) is to wrap the sysroot path in quotes like so: '-isysroot "$SYSROOT"' I can't imagine that this would break anything, and can only help. I have applied a patch here https://github.com/jevinskie/cmake/commits/master [^] | |||||||||
Steps To Reproduce | 1) Rename your Xcode.app folder such that it contains a space. 2) Try to build something 3) The build fails because the sysroot path was not properly quoted. | |||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-11-16 19:03 | Jevin Sweval | New Issue | ||||||||
2012-11-17 13:18 | David Cole | Note Added: 0031598 | ||||||||
2015-01-01 06:41 | Stephen Kelly | Relationship added | related to 0015320 | |||||||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042151 | ||||||||
2016-06-10 14:28 | Kitware Robot | Status | new => resolved | |||||||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | |||||||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | |||||||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|