]> Creatis software - bbtk.git/blob - samples/SampleInsertWxBlackBoxInOwnFrame/CMakeLists.txt
*** empty log message ***
[bbtk.git] / samples / SampleInsertWxBlackBoxInOwnFrame / CMakeLists.txt
1 # Find the bbtk package wx 
2 # The package is called 'bbwx'
3 # It itself finds bbtk and automatically exports its dependency on it
4
5 # Set 'FIND_PACKAGE_VERBOSE' to have information on the packages found
6 SET(FIND_PACKAGE_VERBOSE 1)
7 # Find 
8 FIND_PACKAGE(bbwx)
9 # Use if found
10 IF(bbwx_FOUND)
11 INCLUDE(${bbwx_USE_FILE})
12 ENDIF(bbwx_FOUND)
13
14 SET(SAMPLE bbtkSampleInsertWxBlackBoxInOwnFrame)
15
16 # main 
17 ADD_EXECUTABLE(${SAMPLE} ${SAMPLE})
18 # Link against bbwx
19 TARGET_LINK_LIBRARIES(${SAMPLE} ${bbwx_LIBRARIES})