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>
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)