mirror of https://github.com/QMCPACK/qmcpack.git
Merge pull request #872 from PDoakORNL/enable_ninja
ninja requires this policy to operate
This commit is contained in:
commit
6e75e8baf3
|
@ -11,6 +11,9 @@ IF(COMMAND cmake_policy)
|
|||
# are used in try_compile test cmake projects.
|
||||
# CHECK_CXX_SOURCE_COMPILES and others depend on try_compile
|
||||
endif(CMAKE_VERSION VERSION_GREATER 3.1.3 AND NOT $ENV{CRAYPE_VERSION} MATCHES ".")
|
||||
IF(CMAKE_GENERATOR MATCHES "Ninja")
|
||||
cmake_policy(SET CMP0058 NEW)
|
||||
ENDIF(CMAKE_GENERATOR MATCHES "Ninja")
|
||||
ENDIF(COMMAND cmake_policy)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue