From ccb4135120e6ff2923687ad3d0ca3a4c29de88fc Mon Sep 17 00:00:00 2001 From: Martijn Govers Date: Wed, 15 Jan 2025 14:22:52 +0100 Subject: [PATCH] disable cmake policy that removes FindBoost.cmake Signed-off-by: Martijn Govers --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index be6024241..94d0e542f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,8 +29,9 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) include(GNUInstallDirs) -find_package(Eigen3 CONFIG REQUIRED) +cmake_policy(SET CMP0167 OLD) # libboost-headers packaged by conda does not come with BoostConfig.cmake find_package(Boost REQUIRED) +find_package(Eigen3 CONFIG REQUIRED) find_package(nlohmann_json CONFIG REQUIRED) find_package(msgpack-cxx REQUIRED)