]> Creatis software - bbtk.git/blob - packages/wx/Configure.cmake
eea8ce0fc7761be7b4f6656d2fe249cf7c594d36
[bbtk.git] / packages / wx / 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   SET(FIND_PACKAGE_VERBOSE TRUE)
9   FIND_PACKAGE(BBTK)
10   # If bbtk found
11   IF(BBTK_FOUND)
12     INCLUDE(${BBTK_USE_FILE})
13     SET(BBTK_PACKAGE_LIBS 
14       ${BBTK_PACKAGE_LIBS}
15       ${BBTK_LIBRARIES})
16     MARK_AS_ADVANCED(BBTK_DIR)
17   ENDIF(BBTK_FOUND)
18   #-------------------------------------------------------------------------
19 ENDIF(NOT BBTK_CORE_PACKAGE)
20 #===========================================================================
21
22 #===========================================================================
23 # Include package configuration cmake script from bbtk dir
24 INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage.cmake)
25 #===========================================================================
26