From e3d7e810ce27df3be91e3d234f0f5cd21181a500 Mon Sep 17 00:00:00 2001 From: Lei ZHANG Date: Thu, 14 Sep 2017 22:00:12 +0800 Subject: [PATCH] add: include_directories(${Boost_INCLUDE_DIRS}) add "include_directories(${Boost_INCLUDE_DIRS})" to include the boost header files --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8296511b..53ed4a91 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -30,7 +30,7 @@ add_executable (hapcol HapCol.cpp ) - +include_directories(${Boost_INCLUDE_DIRS}) target_link_libraries(hapcol ${Boost_LIBRARIES}) install(TARGETS hapcol RUNTIME DESTINATION bin)