mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[cmake] Don't use VERSION_GREATER_EQUAL in cmake versions prior to 3.72.
llvm-svn: 361291
This commit is contained in:
parent
323fa05c6e
commit
83f8553c44
@ -561,11 +561,12 @@ if(CMAKE_GENERATOR STREQUAL "Ninja")
|
||||
OUTPUT_VARIABLE NINJA_VERSION
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
set(NINJA_VERSION ${NINJA_VERSION} CACHE STRING "Ninja version number" FORCE)
|
||||
message(STATUS "Ninja version: ${NINJA_VERSION}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_GENERATOR STREQUAL "Ninja" AND
|
||||
"${NINJA_VERSION}" VERSION_GREATER_EQUAL "1.9.0" AND
|
||||
NOT "${NINJA_VERSION}" VERSION_LESS "1.9.0" AND
|
||||
CMAKE_HOST_APPLE AND CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER "15.6.0")
|
||||
set(LLVM_TOUCH_STATIC_LIBRARIES ON)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user