Skip to content
Snippets Groups Projects
Commit afed5193 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'osx-iframework'

e68f0cb3 OS X: Use -iframework with AppleClang only on version >= 4.2
parents 51f818bf e68f0cb3
No related branches found
No related tags found
No related merge requests found
include(Platform/Darwin-Clang-C)
if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.2)
set(CMAKE_C_SYSTEM_FRAMEWORK_SEARCH_FLAG "-iframework ")
else()
unset(CMAKE_C_SYSTEM_FRAMEWORK_SEARCH_FLAG)
endif()
include(Platform/Darwin-Clang-CXX)
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.2)
set(CMAKE_CXX_SYSTEM_FRAMEWORK_SEARCH_FLAG "-iframework ")
else()
unset(CMAKE_CXX_SYSTEM_FRAMEWORK_SEARCH_FLAG)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment