From 7e9153f6f919d5d30c21d05832470fac70d0f4af Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 1 Oct 2021 18:31:53 +0200 Subject: [PATCH] Update CMakeLists.txt to newer policies. --- bootstrap/cmake_modules/FindBootstrap.cmake | 12 ++++++------ crlcore/src/ccore/alliance/CMakeLists.txt | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bootstrap/cmake_modules/FindBootstrap.cmake b/bootstrap/cmake_modules/FindBootstrap.cmake index 8c372efc..1278fa0a 100644 --- a/bootstrap/cmake_modules/FindBootstrap.cmake +++ b/bootstrap/cmake_modules/FindBootstrap.cmake @@ -7,12 +7,12 @@ if(COMMAND CMAKE_POLICY) cmake_policy(SET CMP0003 NEW) cmake_policy(SET CMP0005 NEW) - if(NOT (CMAKE_VERSION VERSION_LESS 2.8.0)) - cmake_policy(SET CMP0014 OLD) - endif() - if(NOT (CMAKE_VERSION VERSION_LESS 2.8.12)) - cmake_policy(SET CMP0022 OLD) - endif() + #if(NOT (CMAKE_VERSION VERSION_LESS 2.8.0)) + # cmake_policy(SET CMP0014 OLD) + #endif() + #if(NOT (CMAKE_VERSION VERSION_LESS 2.8.12)) + # cmake_policy(SET CMP0022 OLD) + #endif() endif(COMMAND CMAKE_POLICY) endmacro(set_cmake_policies) diff --git a/crlcore/src/ccore/alliance/CMakeLists.txt b/crlcore/src/ccore/alliance/CMakeLists.txt index 9d6fe3b2..03bc95df 100644 --- a/crlcore/src/ccore/alliance/CMakeLists.txt +++ b/crlcore/src/ccore/alliance/CMakeLists.txt @@ -1 +1 @@ -add_subdirectory(vst) +#add_subdirectory(vst)