From 97fb2debf792ec5ccd0c6bbc5d12df7133b9e01f Mon Sep 17 00:00:00 2001 From: Matthew Bentham Date: Fri, 12 Jul 2019 17:26:57 +0100 Subject: Github #226 Use correct paths returned by FindBoost.cmake According to the documentation in FindBoost.cmake these are the correct output variables. Change-Id: If56874aaafe1577888f73719f0a493088d1ac531 Signed-off-by: Matthew Bentham --- cmake/GlobalConfig.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake') diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake index 39926c01ae..26b3ff4d8c 100644 --- a/cmake/GlobalConfig.cmake +++ b/cmake/GlobalConfig.cmake @@ -108,8 +108,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_P add_definitions("-DBOOST_ALL_NO_LIB") # Turn off auto-linking as we specify the libs manually set(Boost_USE_STATIC_LIBS ON) find_package(Boost 1.59 REQUIRED COMPONENTS unit_test_framework system filesystem log program_options) -include_directories(SYSTEM "${Boost_INCLUDE_DIR}") -link_directories(${Boost_LIBRARY_DIR}) +include_directories(SYSTEM "${Boost_INCLUDE_DIRS}") +link_directories(${Boost_LIBRARY_DIRS}) # pthread find_package (Threads) -- cgit v1.2.1