Skip to content

Commit

Permalink
explicitly add the boost includes to the target as Boost::headers doe…
Browse files Browse the repository at this point in the history
…s not seem to

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
  • Loading branch information
kdt3rd committed Aug 27, 2019
1 parent 62427d2 commit bdedcc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PyIlmBase/config/ModuleDefine.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function(PYILMBASE_ADD_LIBRARY_PRIV libname)
if(PYILMBASE_CURLIB_CURBINDIR)
target_include_directories(${libname} PRIVATE $<BUILD_INTERFACE:${PYILMBASE_CURLIB_CURBINDIR}>)
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})
Expand Down

0 comments on commit bdedcc6

Please sign in to comment.