From 5d70ada83e5f40842007994f9007cf8f4d4fc80c Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Mon, 27 Jan 2020 21:53:00 +0100 Subject: [PATCH] disabled policies --- CMakeLists.txt | 12 ++++++------ src/CMakeLists.txt | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e58f253e..9584c58d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,13 +5,13 @@ PROJECT(Zano) set(VERSION "1.0") - if(POLICY CMP0043) - cmake_policy(SET CMP0043 OLD) - endif() +# if(POLICY CMP0043) +# cmake_policy(SET CMP0043 OLD) +# endif() - if(POLICY CMP0020) - cmake_policy(SET CMP0020 OLD) - endif() +# if(POLICY CMP0020) +# cmake_policy(SET CMP0020 OLD) +# endif() set_property(GLOBAL PROPERTY USE_FOLDERS ON) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4456cb1b..d792d71e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,9 +1,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "iOS") return() endif() -if(POLICY CMP0043) - cmake_policy(SET CMP0043 OLD) -endif() +# if(POLICY CMP0043) +# cmake_policy(SET CMP0043 OLD) +# endif() ########### # using shared PCH -- this is unusual case for MSVC... so mystery, such hack, many wow. See also: https://stackoverflow.com/questions/645747/sharing-precompiled-headers-between-projects-in-visual-studio/4170902#4170902