Skip to content

Commit

Permalink
add boost to python module link library
Browse files Browse the repository at this point in the history
  • Loading branch information
JenusL authored and kdt3rd committed Nov 8, 2019
1 parent 4273e84 commit a571bdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PyIlmBase/config/ModuleDefine.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ function(PYILMBASE_DEFINE_MODULE modname)
${extraDeps}
${PYILMBASE_CURMOD_DEPENDENCIES}
${PYILMBASE_CURMOD_PRIVATE_DEPS}
Boost::${PYILMBASE_BOOST_PY2_COMPONENT}
)
set_target_properties(${modname}_python2 PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/python${Python2_VERSION_MAJOR}_${Python2_VERSION_MINOR}/"
Expand All @@ -142,6 +143,7 @@ function(PYILMBASE_DEFINE_MODULE modname)
${libname} ${extraDeps}
${PYILMBASE_CURMOD_DEPENDENCIES}
${PYILMBASE_CURMOD_PRIVATE_DEPS}
Boost::${PYILMBASE_BOOST_PY3_COMPONENT}
)
set_target_properties(${modname}_python3 PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/python${Python3_VERSION_MAJOR}_${Python3_VERSION_MINOR}/"
Expand Down

0 comments on commit a571bdf

Please sign in to comment.