1
0
Fork 0
forked from lthn/blockchain

disabled policies

This commit is contained in:
cryptozoidberg 2020-01-27 21:53:00 +01:00
parent 0eac604ef8
commit 5d70ada83e
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC
2 changed files with 9 additions and 9 deletions

View file

@ -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)

View file

@ -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