X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=samples%2FSampleInsertWxBlackBoxInOwnFrame%2FCMakeLists.txt;h=6eed45feac406030f26cb4ccbe21fab1837185f0;hb=893cff74b10b6e9271e480491ae485ae69f5816e;hp=3d042fdd0ba93db64a7d67c5fbae69d5a30d0c20;hpb=43b1503553c17d85b0e7aa356468fb8527e2bb68;p=bbtk.git diff --git a/samples/SampleInsertWxBlackBoxInOwnFrame/CMakeLists.txt b/samples/SampleInsertWxBlackBoxInOwnFrame/CMakeLists.txt index 3d042fd..6eed45f 100644 --- a/samples/SampleInsertWxBlackBoxInOwnFrame/CMakeLists.txt +++ b/samples/SampleInsertWxBlackBoxInOwnFrame/CMakeLists.txt @@ -18,5 +18,8 @@ SET(SAMPLE bbtkSampleInsertWxBlackBoxInOwnFrame) # main ADD_EXECUTABLE(${SAMPLE} WIN32 ${SAMPLE}) +IF(WIN32) + SET_TARGET_PROPERTIES(${SAMPLE} PROPERTIES LINK_FLAGS /subsystem:console ) +ENDIF(WIN32) # Link against bbwx -TARGET_LINK_LIBRARIES(${SAMPLE} ${bbwx_LIBRARIES} ${BBTK_LIBRARIES} ${WXWIDGETS_LIBRARIES}) +TARGET_LINK_LIBRARIES(${SAMPLE} ${BBTK_LIBRARIES} ${bbwx_LIBRARIES} ${WXWIDGETS_LIBRARIES})