From 4988cb9f036754d50c6a3f6a592ff2d511721325 Mon Sep 17 00:00:00 2001 From: proller Date: Thu, 17 Aug 2017 21:17:17 +0300 Subject: [PATCH] Issue #1110 : Fix build without installed boost (#1115) --- cmake/print_include_directories.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/print_include_directories.cmake b/cmake/print_include_directories.cmake index ba0bba4c9df..4943f1e2afc 100644 --- a/cmake/print_include_directories.cmake +++ b/cmake/print_include_directories.cmake @@ -7,6 +7,9 @@ list(APPEND dirs ${dirs1}) get_property (dirs1 TARGET common PROPERTY INCLUDE_DIRECTORIES) list(APPEND dirs ${dirs1}) +get_property (dirs1 TARGET ${Boost_PROGRAM_OPTIONS_LIBRARY} PROPERTY INCLUDE_DIRECTORIES) +list(APPEND dirs ${dirs1}) + list(REMOVE_DUPLICATES dirs) file (WRITE ${CMAKE_CURRENT_BINARY_DIR}/include_directories.txt "") foreach (dir ${dirs})