aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-06-01 04:36:45 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-06-01 04:36:45 +0300
commit1cdf92911586702f72bc1ab69ffc269cdce38dd1 (patch)
tree2d484c79755da98d630b38b34af0762b141d221f
parentget rid of third-party warnings (diff)
downloadwinapi-debug-1cdf92911586702f72bc1ab69ffc269cdce38dd1.tar.gz
winapi-debug-1cdf92911586702f72bc1ab69ffc269cdce38dd1.zip
fix a CMake warning
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 02a92f4..ecf45d0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,7 @@
+if(COMMAND cmake_policy)
+ cmake_policy(SET CMP0003 NEW)
+endif(COMMAND cmake_policy)
+
project(pdb_repo CXX)
include(common.cmake)