Skip to content

Commit

Permalink
Enable new CMP0167 Boost policy for find
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrismarsh committed Dec 10, 2024
1 parent 21ecbb3 commit c44d9dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ project (CHM-project C CXX Fortran)
#https://cmake.org/cmake/help/latest/policy/CMP0074.html
cmake_policy(SET CMP0074 NEW)

cmake_policy(SET CMP0167 NEW)

#https://cmake.org/cmake/help/latest/policy/CMP0042.html#policy:CMP0042
# set RPATH ON
cmake_policy(SET CMP0042 NEW)
Expand Down Expand Up @@ -151,7 +153,8 @@ find_package(Boost
program_options
mpi
serialization
REQUIRED)
REQUIRED
CONFIG)


#need this for calling the logger from multiple modules
Expand Down

0 comments on commit c44d9dc

Please sign in to comment.