1 # Find the bbtk package wx
2 # The package is called 'bbwx'
3 # It itself finds bbtk and automatically exports its dependency on it
5 # Set 'FIND_PACKAGE_VERBOSE' to have information on the packages found
6 SET(FIND_PACKAGE_VERBOSE 1)
11 INCLUDE(${bbwx_USE_FILE})
14 CREA_FIND_AND_USE_LIBRARIES()
16 SET(SAMPLE bbtkSampleWidgetsBase)
20 ADD_EXECUTABLE(${SAMPLE} WIN32 ${SAMPLE})
21 SET_TARGET_PROPERTIES(${SAMPLE} PROPERTIES LINK_FLAGS /subsystem:console )
23 ADD_EXECUTABLE(${SAMPLE} MACOSX_BUNDLE ${SAMPLE})
27 TARGET_LINK_LIBRARIES(${SAMPLE} ${bbwx_LIBRARIES} ${BBTK_LIBRARIES} ${WXWIDGETS_LIBRARIES})