Skip to content

Commit

Permalink
Use FindBoost module rather than BoostConfig.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Aug 21, 2024
1 parent 6a1cf17 commit 7f1575f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ if(POLICY CMP0058)
cmake_policy(SET CMP0058 NEW)
endif(POLICY CMP0058)

# Use FindBoost module rather than BoostConfig.cmake (which requires
# Boost 1.70 or later)
if(POLICY CMP0167)
cmake_policy(SET CMP0167 OLD)
endif(POLICY CMP0167)

set(timeout_factor 1)
set(IMP_SWIG_PATH CACHE STRING "List of places for swig to search")
set(SWIG_EXECUTABLE swig CACHE STRING "Swig program")
Expand Down

0 comments on commit 7f1575f

Please sign in to comment.