diff --git a/CMakeLists.txt b/CMakeLists.txt index cf12e64d911be9a4a3ea66eeb4be11a7cd74f9a1..b92155203b775898a87bb72835fc3effb14301cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,10 +127,12 @@ SET_TARGET_PROPERTIES(geometry PROPERTIES PREFIX "") IF(EIGEN_NUMPY_ALIGNED) PKG_CONFIG_APPEND_CFLAGS("-DEIGENPY_ALIGNED") ENDIF(EIGEN_NUMPY_ALIGNED) + +PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME}) PKG_CONFIG_APPEND_CFLAGS("-I${PYTHON_INCLUDE_DIRS}") PKG_CONFIG_APPEND_CFLAGS("-I${NUMPY_INCLUDE_DIRS}") -PKG_CONFIG_APPEND_LIBS("boost_python") +PKG_CONFIG_APPEND_BOOST_LIBS(${BOOST_COMPONENTS}) PKG_CONFIG_APPEND_LIBS_RAW(${PYTHON_LIBRARIES}) -PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME}) + SETUP_PROJECT_FINALIZE()