Skip to content

Commit c71b31d

Browse files
isidoreclaremacraeLaguna1989
committed
. e allow cmake to find boost (maybe)
Co-Authored-By: Clare Macrae <[email protected]> Co-Authored-By: Laguna1989 <[email protected]>
1 parent 25b5459 commit c71b31d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Boost_Tests/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ add_executable(${PROJECT_NAME}
1818
# -DBOOST_ROOT=/usr/local/Cellar/boost/1.76.0/
1919
# 2. In CLion, you can supply this argument in each of your CMake profiles, with:
2020
# Preferences -> Build, Execution, Deployment -> CMake -> 'CMake options:'
21+
if(POLICY CMP0167)
22+
cmake_policy(SET CMP0167 NEW)
23+
endif()
2124
find_package(Boost 1.60.0 COMPONENTS REQUIRED)
2225
if (Boost_FOUND)
2326

0 commit comments

Comments
 (0)