Merge topic 'clang-iframework-version'
63c4133b
OS X: Use -iframework with Clang only on version >= 3.2
This commit is contained in:
commit
88a189f367
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue