From 1a50da299d6b171d5bdd4dffd6d919a00fc31310 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Wed, 6 Sep 2023 22:14:44 +0200 Subject: [PATCH] Set policy 0144 to new in CMakeLists.txt --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5a4544f41..00c54c55f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake ) set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib) set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) +cmake_policy(SET CMP0144 NEW) + #------------- set the default installation directory to be the source directory IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)