From 2e52e2ef8e8d946b390005000fdbe23beb94ce21 Mon Sep 17 00:00:00 2001 From: Kimball Thurston Date: Sat, 24 Aug 2019 11:07:00 +1200 Subject: [PATCH] explicitly add the boost includes to the target as Boost::headers does not seem to Signed-off-by: Kimball Thurston --- PyIlmBase/config/ModuleDefine.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/PyIlmBase/config/ModuleDefine.cmake b/PyIlmBase/config/ModuleDefine.cmake index f983683a..6f1c9646 100644 --- a/PyIlmBase/config/ModuleDefine.cmake +++ b/PyIlmBase/config/ModuleDefine.cmake @@ -33,6 +33,7 @@ function(PYILMBASE_ADD_LIBRARY_PRIV libname) if(PYILMBASE_CURLIB_CURBINDIR) target_include_directories(${libname} PRIVATE $) endif() + target_include_directories(${libname} PUBLIC ${Boost_INCLUDE_DIR}) target_link_libraries(${libname} PUBLIC ${PYILMBASE_CURLIB_DEPENDENCIES}) if(PYILMBASE_CURLIB_PRIVATE_DEPS) target_link_libraries(${libname} PRIVATE ${PYILMBASE_CURLIB_PRIVATE_DEPS})