diff options
author | Brad King <brad.king@kitware.com> | 2016-03-10 14:16:18 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-03-10 14:16:18 (GMT) |
commit | 88a189f36764590ccbe78951db804ba8c5c84f9a (patch) | |
tree | 040f0bb157ffc2de36bd546d1718911f73503ac1 /Modules/Platform | |
parent | 612a8b3bd8091372d9e50a81f05dcab8b31ae35c (diff) | |
parent | 63c4133b38f665bcf77bd92c08cbdc2e7ebee178 (diff) | |
download | CMake-88a189f36764590ccbe78951db804ba8c5c84f9a.zip CMake-88a189f36764590ccbe78951db804ba8c5c84f9a.tar.gz CMake-88a189f36764590ccbe78951db804ba8c5c84f9a.tar.bz2 |
Merge topic 'clang-iframework-version'
63c4133b OS X: Use -iframework with Clang only on version >= 3.2
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Darwin-Clang.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Darwin-Clang.cmake b/Modules/Platform/Darwin-Clang.cmake index 4cded47..61a5e0c 100644 --- a/Modules/Platform/Darwin-Clang.cmake +++ b/Modules/Platform/Darwin-Clang.cmake @@ -24,7 +24,7 @@ macro(__darwin_compiler_clang lang) set(CMAKE_SHARED_MODULE_CREATE_${lang}_FLAGS "-bundle -Wl,-headerpad_max_install_names") set(CMAKE_${lang}_SYSROOT_FLAG "-isysroot") set(CMAKE_${lang}_OSX_DEPLOYMENT_TARGET_FLAG "-mmacosx-version-min=") - if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 3.1) + if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 3.2) set(CMAKE_${lang}_SYSTEM_FRAMEWORK_SEARCH_FLAG "-iframework ") endif() endmacro() |