From 195470a295a1bef2170ed40e8b5e896ec39b83f4 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 9 Sep 2018 15:48:14 +0800 Subject: [PATCH] cmake: always add ${Boost_INCLUDE_DIRS} to include dirs we need to -I${Boost_INCLUDE_DIRS} if WITH_SYSTEM_BOOST=ON and boost is found by FindBoost.cmake. Signed-off-by: Kefu Chai --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c1314ee712f..379e0df8ee7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -640,8 +640,8 @@ else() include(BuildBoost) build_boost(1.67 COMPONENTS ${BOOST_COMPONENTS} ${BOOST_HEADER_COMPONENTS}) - include_directories(BEFORE SYSTEM ${Boost_INCLUDE_DIRS}) endif() +include_directories(BEFORE SYSTEM ${Boost_INCLUDE_DIRS}) set(Boost_USE_MULTITHREADED ON) # dashboard angular2 frontend -- 2.47.3