diff options
author | Matthew Bentham <matthew.bentham@arm.com> | 2019-07-12 17:26:57 +0100 |
---|---|---|
committer | Áron Virginás-Tar <aron.virginas-tar@arm.com> | 2019-07-15 13:56:29 +0000 |
commit | 97fb2debf792ec5ccd0c6bbc5d12df7133b9e01f (patch) | |
tree | f50ec086518f5beccfb7aac733fa934f075e3d9c /cmake/GlobalConfig.cmake | |
parent | 0bf6b2324460c57ec25329ebaa8ac97a64e4b8dc (diff) | |
download | armnn-97fb2debf792ec5ccd0c6bbc5d12df7133b9e01f.tar.gz |
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 <matthew.bentham@arm.com>
Diffstat (limited to 'cmake/GlobalConfig.cmake')
-rw-r--r-- | cmake/GlobalConfig.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
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) |