diff --git a/cmake/Spt3gConfig.cmake.in b/cmake/Spt3gConfig.cmake.in index fbc500c2..8131655b 100644 --- a/cmake/Spt3gConfig.cmake.in +++ b/cmake/Spt3gConfig.cmake.in @@ -1,5 +1,9 @@ @PACKAGE_INIT@ +include(CMakeFindDependencyMacro) +set(Boost_PYTHON_TYPE @Boost_PYTHON_TYPE@) +find_dependency(Boost COMPONENTS system iostreams filesystem ${Boost_PYTHON_TYPE} REQUIRED) + set(SPT3G_SOURCE_DIR @CMAKE_SOURCE_DIR@) set(SPT3G_BUILD_DIR @CMAKE_BINARY_DIR@) set(SPT3G_INCLUDE_INSTALL_DIR @PACKAGE_INCLUDE_INSTALL_DIR@)