Skip to content

Commit de6cd85

Browse files
committed
set CMP0167 to NEW to silence cmake boost warning
1 parent 2cc1e2a commit de6cd85

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ IF( WIN32 )
1717
ENDIF(WIN32)
1818

1919
if(NOT TARGET Boost::unit_test_framework)
20+
if(POLICY CMP0167)
21+
cmake_policy(SET CMP0167 NEW)
22+
endif()
2023
FIND_PACKAGE(Boost 1.67 REQUIRED COMPONENTS system unit_test_framework)
2124
endif()
2225

0 commit comments

Comments
 (0)