aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeex <zeex@rocketmail.com>2020-10-31 16:49:46 +0600
committerZeex <zeex@rocketmail.com>2020-10-31 16:49:57 +0600
commit1a8ef265ca8e1d0b0b5eeffa280e977319aa62c4 (patch)
tree48e1c0d876c11d15c7551dc6621d0e79f49f1fd8
parenta5df7e23dfe5b73ef06dd1a74d7dde95064b391f (diff)
downloadsubhook-1a8ef265ca8e1d0b0b5eeffa280e977319aa62c4.zip
subhook-1a8ef265ca8e1d0b0b5eeffa280e977319aa62c4.tar.gz
subhook-1a8ef265ca8e1d0b0b5eeffa280e977319aa62c4.tar.bz2
Fix CMake warning about policy CMP0054
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f647e26..2d48b5c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,9 @@ project(subhook C)
if(POLICY CMP0042)
cmake_policy(SET CMP0042 NEW)
endif()
+if(POLICY CMP0054)
+ cmake_policy(SET CMP0054 NEW)
+endif()
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)