1 2 3 4 5 6 7 8 9
include(RunCMake) if(RunCMake_GENERATOR STREQUAL Xcode) if(XCODE_BELOW_6_1) run_cmake(XcodeTooOld) endif() else() run_cmake(NotSupported) endif()