Skip to content

Commit a91fe5e

Browse files
committed
Set cmake policy to avoid conflicts between BOOST_ROOT and Boost_ROOT.
1 parent 7176d41 commit a91fe5e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ set(META_PROJECT_DESCRIPTION "Stream from Philips Neuro devices via Lab Streamin
1111

1212
# THIRD PARTY LIBRARIES #
1313
find_package(Qt5 COMPONENTS Widgets REQUIRED)
14-
find_package(Boost 1.66.0 COMPONENTS system REQUIRED)
14+
cmake_policy(SET CMP0074 NEW) # <- Required to avoid conflict between BOOST_ROOT and Boost_ROOT
15+
find_package(Boost COMPONENTS system REQUIRED)
1516
find_package(Threads REQUIRED)
1617

1718
# Add executable target

0 commit comments

Comments
 (0)