CMake/Modules/Platform/Darwin-AppleClang-C.cmake

7 lines
203 B
CMake

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()