ENDIF(NOT BBTK_CORE_PACKAGE)
#---------------------------------------------------------------------------
+
+SET(${BBTK_PACKAGE_NAME}_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
+
#-----------------------------------------------------------------------------
# DOES THE USER WANT TO BUILD THE PACKAGE ?
OPTION(BUILD_BBTK_PACKAGE_${BBTK_PACKAGE_NAME}
#
SET(${LIBRARY_NAME}_HAS_ADDITIONAL_CONFIG_FILE TRUE)
SET(${LIBRARY_NAME}_ADDITIONAL_CONFIG_FILE
- ${PROJECT_SOURCE_DIR}/PackageConfig.cmake.in)
+ ${${BBTK_PACKAGE_NAME}_SOURCE_DIR}/PackageConfig.cmake.in)
SET(${LIBRARY_NAME}_ADDITIONAL_USE_FILE
- ${PROJECT_SOURCE_DIR}/UsePackage.cmake.in)
+ ${${BBTK_PACKAGE_NAME}_SOURCE_DIR}/UsePackage.cmake.in)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------