llvm.org GIT mirror llvm / 359359d
[cmake] Don't use VERSION_GREATER_EQUAL in cmake versions prior to 3.72. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361291 91177308-0d34-0410-b5e6-96231b3b80d8 Don Hinton a month ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
560560 OUTPUT_VARIABLE NINJA_VERSION
561561 OUTPUT_STRIP_TRAILING_WHITESPACE)
562562 set(NINJA_VERSION ${NINJA_VERSION} CACHE STRING "Ninja version number" FORCE)
563 message(STATUS "Ninja version: ${NINJA_VERSION}")
563564 endif()
564565 endif()
565566
566567 if(CMAKE_GENERATOR STREQUAL "Ninja" AND
567 "${NINJA_VERSION}" VERSION_GREATER_EQUAL "1.9.0" AND
568 NOT "${NINJA_VERSION}" VERSION_LESS "1.9.0" AND
568569 CMAKE_HOST_APPLE AND CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER "15.6.0")
569570 set(LLVM_TOUCH_STATIC_LIBRARIES ON)
570571 endif()