#---------------------------------------------------------------------------
-# If not a core package must find bbtk and include necessary cmake scripts
+# If not a core package must include necessary cmake scripts
IF(NOT BBTK_CORE_PACKAGE)
-## TO DO
-# FIND_LIBRARY(BBTK)
-# INCLUDE(${BBTK_DIR}/BBTKMacros.cmake)
-# INCLUDE(${BBTK_DIR}/BBTKFindLibraries.cmake)
-# etc.
+ #
+ INCLUDE(${BBTK_CMAKE_DIR}/BBTKBuildAllOption.cmake)
+ INCLUDE(${BBTK_CMAKE_DIR}/BBTKMacros.cmake)
+ INCLUDE(${BBTK_CMAKE_DIR}/BBTKFindLibraries.cmake)
+ #-------------------------------------------------------------------------
+ # Configure bbtk_config_build.xml.in for bbi to find the bbs
+ INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigureBbtkConfigXmlForBuildTree.cmake)
+ #-------------------------------------------------------------------------
+ #
ENDIF(NOT BBTK_CORE_PACKAGE)
#---------------------------------------------------------------------------