Skip to content

Commit

Permalink
Merge pull request #873 from PowerGridModel/feature/cmake-3-30-compat…
Browse files Browse the repository at this point in the history
…ibility

disable cmake policy that removes FindBoost.cmake
  • Loading branch information
TonyXiang8787 authored Jan 16, 2025
2 parents b428bda + ccb4135 commit 349a000
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 349a000

Please sign in to comment.