diff options
author | Brad King <brad.king@kitware.com> | 2011-02-22 19:31:45 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-02-22 19:31:45 (GMT) |
commit | 11f55fff8fc8946535afdd43d16ffe9384c5e1c8 (patch) | |
tree | c6e59a815c389338c3db52df048e890242c9dc2a | |
parent | 6e450ed7f05e98216bc4ddd9f2c82149603de964 (diff) | |
parent | d421a433a89064926ae6aad532850b8bed113562 (diff) | |
download | CMake-11f55fff8fc8946535afdd43d16ffe9384c5e1c8.zip CMake-11f55fff8fc8946535afdd43d16ffe9384c5e1c8.tar.gz CMake-11f55fff8fc8946535afdd43d16ffe9384c5e1c8.tar.bz2 |
Merge topic 'fix-10723-non-dev-xcode'
d421a43 Strip trailing space from xcode-select output (#10723)
-rw-r--r-- | Modules/Platform/Darwin.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index a99ff4a..c11c8fb 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -68,7 +68,8 @@ IF(NOT _CMAKE_OSX_SDKS) FIND_PROGRAM(CMAKE_XCODE_SELECT xcode-select) IF(CMAKE_XCODE_SELECT) EXECUTE_PROCESS(COMMAND ${CMAKE_XCODE_SELECT} "-print-path" - OUTPUT_VARIABLE OSX_DEVELOPER_ROOT) + OUTPUT_VARIABLE OSX_DEVELOPER_ROOT + OUTPUT_STRIP_TRAILING_WHITESPACE) FILE(GLOB _CMAKE_OSX_SDKS "${OSX_DEVELOPER_ROOT}/SDKs/*") ENDIF(CMAKE_XCODE_SELECT) ENDIF(NOT _CMAKE_OSX_SDKS) |