cmake/Tests/RunCMake/Swift/RunCMakeTest.cmake

14 lines
277 B
CMake
Raw Normal View History

2015-11-17 17:22:37 +01:00
include(RunCMake)
if(RunCMake_GENERATOR STREQUAL Xcode)
if(XCODE_BELOW_6_1)
run_cmake(XcodeTooOld)
endif()
2019-11-11 23:01:05 +01:00
elseif(RunCMake_GENERATOR STREQUAL Ninja)
if(CMAKE_Swift_COMPILER)
run_cmake(Win32ExecutableDisallowed)
endif()
2015-11-17 17:22:37 +01:00
else()
run_cmake(NotSupported)
endif()