we need to -I${Boost_INCLUDE_DIRS} if WITH_SYSTEM_BOOST=ON and boost is
found by FindBoost.cmake.
Signed-off-by: Kefu Chai <kchai@redhat.com>
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