Made sure cmake config file pulls in dependent include folders.

This commit is contained in:
Davis King 2017-01-09 07:14:20 -05:00
parent 365dfd20d1
commit 93610c4e55

View File

@ -28,7 +28,7 @@ else()
get_filename_component(dlib_INSTALL_PATH "@CONF_INSTALL_PATH@" REALPATH)
endif()
set(dlib_INCLUDE_DIRS "${dlib_INSTALL_PATH}/include")
set(dlib_INCLUDE_DIRS "${dlib_INSTALL_PATH}/include" "@dlib_needed_includes@")
# Our library dependencies (contains definitions for IMPORTED targets)
if(NOT TARGET dlib-shared AND NOT dlib_BINARY_DIR)