diff --git a/CMakeLists.txt b/CMakeLists.txt index d6e17d17..93890aa5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,8 @@ else() set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_AVAILABLE FALSE) endif() +cmake_policy(SET CMP0054 NEW) + if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git" AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/COPYRIGHT" AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE"