X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=samples%2FSampleInsertWxBlackBoxInOwnFrame%2FCMakeLists.txt;fp=samples%2FSampleInsertWxBlackBoxInOwnFrame%2FCMakeLists.txt;h=4cd80c903a25cc85b94b161ce7c9dde5c75905c5;hb=00d7d3333299da2569a1d87fd1bd5f96d09ca1d6;hp=0000000000000000000000000000000000000000;hpb=22eae0242d8e2c1eb8a25a735289f609b17e103f;p=bbtk.git diff --git a/samples/SampleInsertWxBlackBoxInOwnFrame/CMakeLists.txt b/samples/SampleInsertWxBlackBoxInOwnFrame/CMakeLists.txt new file mode 100644 index 0000000..4cd80c9 --- /dev/null +++ b/samples/SampleInsertWxBlackBoxInOwnFrame/CMakeLists.txt @@ -0,0 +1,19 @@ +# Find the bbtk package wx +# The package is called 'bbwx' +# It itself finds bbtk and automatically exports its dependency on it + +# Set 'FIND_PACKAGE_VERBOSE' to have information on the packages found +SET(FIND_PACKAGE_VERBOSE 1) +# Find +FIND_PACKAGE(bbwx) +# Use if found +IF(bbwx_FOUND) +INCLUDE(${bbwx_USE_FILE}) +ENDIF(bbwx_FOUND) + +SET(SAMPLE bbtkSampleInsertWxBlackBoxInOwnFrame) + +# main +ADD_EXECUTABLE(${SAMPLE} ${SAMPLE}) +# Link against bbwx +TARGET_LINK_LIBRARIES(${SAMPLE} ${bbwx_LIBRARIES})