diff --git a/crlcore/CMakeLists.txt b/crlcore/CMakeLists.txt index 58d2ccfb..a753658a 100644 --- a/crlcore/CMakeLists.txt +++ b/crlcore/CMakeLists.txt @@ -22,6 +22,8 @@ setup_boost(program_options) setup_qt() + cmake_policy(SET CMP0054 NEW) + if (USE_LIBBFD) find_package(Libbfd) endif() diff --git a/hurricane/CMakeLists.txt b/hurricane/CMakeLists.txt index 76ae6d43..98296140 100644 --- a/hurricane/CMakeLists.txt +++ b/hurricane/CMakeLists.txt @@ -17,6 +17,7 @@ list(INSERT CMAKE_MODULE_PATH 0 "${HURRICANE_SOURCE_DIR}/cmake_modules/") set_cmake_policies() + cmake_policy(SET CMP0054 NEW) setup_boost(program_options) setup_qt() diff --git a/unicorn/CMakeLists.txt b/unicorn/CMakeLists.txt index 0a6381b8..128d1758 100644 --- a/unicorn/CMakeLists.txt +++ b/unicorn/CMakeLists.txt @@ -15,6 +15,7 @@ setup_project_paths(CORIOLIS) set_cmake_policies() + cmake_policy(SET CMP0054 NEW) setup_sysconfdir("${CMAKE_INSTALL_PREFIX}") setup_boost(program_options) setup_qt() diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index 637aab6d..b15768d7 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -16,6 +16,7 @@ print_cmake_module_path() set_cmake_policies() + cmake_policy(SET CMP0054 NEW) check_distribution() setup_sysconfdir("${CMAKE_INSTALL_PREFIX}") setup_boost(program_options)