From a0ac302a93aad8a537fb31011c2f7abe1b95f052 Mon Sep 17 00:00:00 2001 From: Hamish Milne Date: Sat, 28 Dec 2019 23:36:12 +0000 Subject: [PATCH] Definitely disable using system boost if version doesn't match --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ac05c91c7..163b8e7c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -132,7 +132,7 @@ if (NOT Boost_FOUND) set(BOOST_ROOT "${PROJECT_SOURCE_DIR}/externals/boost") set(Boost_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/externals/boost") - set(Boost_NO_SYSTEM_PATHS OFF) + set(Boost_NO_SYSTEM_PATHS ON) add_definitions( -DBOOST_ALL_NO_LIB ) find_package(Boost QUIET REQUIRED)