mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
Changed: Display if using Ninja
--HG-- branch : develop
This commit is contained in:
parent
957bb8eeed
commit
e008cd4dae
1 changed files with 5 additions and 0 deletions
|
@ -433,6 +433,11 @@ MACRO(NL_SETUP_BUILD)
|
|||
MESSAGE(STATUS "Generating NMake project")
|
||||
ENDIF()
|
||||
|
||||
IF(CMAKE_GENERATOR MATCHES "Ninja")
|
||||
SET(NINJA ON)
|
||||
MESSAGE(STATUS "Generating Ninja project")
|
||||
ENDIF()
|
||||
|
||||
# If target and host CPU are the same
|
||||
IF("${HOST_CPU}" STREQUAL "${TARGET_CPU}" AND NOT CMAKE_CROSSCOMPILING)
|
||||
# x86-compatible CPU
|
||||
|
|
Loading…
Reference in a new issue