Skip to content

Commit e5e532b

Browse files
committed
minor
1 parent bc42404 commit e5e532b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ find_package(HDF5 REQUIRED COMPONENTS CXX)
1010
find_package(OpenMP REQUIRED)
1111

1212
# Boost
13-
if(POLICY CMP0167)
14-
cmake_policy(SET CMP0167 OLD)
13+
if(CMAKE_VERSION VERSION_GREATER "3.30")
14+
cmake_policy(SET CMP0167 NEW)
1515
endif()
1616
find_package(Boost COMPONENTS program_options log log_setup REQUIRED)
1717

0 commit comments

Comments
 (0)