]> Creatis software - bbtk.git/blob - kernel/appli/bbCreatePackage/void-Package/Configure.cmake
636574a6dc6f4787158261d6e3ad62a3730dcac6
[bbtk.git] / kernel / appli / bbCreatePackage / void-Package / Configure.cmake
1 #===========================================================================
2 # If the package is not a "core" bbtk package (included into the toolkit)
3 # then we have to find (and use) bbtk 
4 IF(NOT BBTK_CORE_PACKAGE)
5   #-------------------------------------------------------------------------
6   # Find and use the Black Box Toolkit
7   # Search BBTK
8   FIND_PACKAGE(BBTK)
9   # If bbtk found
10   IF(BBTK_FOUND)
11     INCLUDE(${BBTK_USE_FILE})
12     SET(BBTK_PACKAGE_LIBS 
13       ${BBTK_PACKAGE_LIBS}
14       ${BBTK_LIBRARIES})
15     MARK_AS_ADVANCED(BBTK_DIR)
16   ENDIF(BBTK_FOUND)
17   #-------------------------------------------------------------------------
18 ENDIF(NOT BBTK_CORE_PACKAGE)
19 #===========================================================================
20
21 #===========================================================================
22 # Include package configuration cmake script from bbtk dir
23 INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage.cmake)
24 #===========================================================================
25