cmake: Set policy needed for latest FindPython to work

Signed-off-by: Myrtle Shah <gatecat@chipflow.io>
This commit is contained in:
Myrtle Shah 2021-10-15 13:26:39 +01:00
parent 2d24efdb6c
commit 8d0faee896
4 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,8 @@
setup_boost(program_options)
setup_qt()
cmake_policy(SET CMP0054 NEW)
if (USE_LIBBFD)
find_package(Libbfd)
endif()

View File

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

View File

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

View File

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