diff options
Diffstat (limited to 'Modules/Platform/Apple-AppleClang-CXX.cmake')
-rw-r--r-- | Modules/Platform/Apple-AppleClang-CXX.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/Platform/Apple-AppleClang-CXX.cmake b/Modules/Platform/Apple-AppleClang-CXX.cmake new file mode 100644 index 0000000..1128204 --- /dev/null +++ b/Modules/Platform/Apple-AppleClang-CXX.cmake @@ -0,0 +1,6 @@ +include(Platform/Apple-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() |