X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=samples%2FSampleInterpreter%2FCMakeLists.txt;h=045e79b405902214d85b97a231b009afaf0d54d0;hb=e249b08904f1f8a4349706e74768ed47a3e17aee;hp=7b32e376c6860fff06c0fdc66a1aa17a1a350aa0;hpb=a12deb460d12294cc8f3ef4e489b5b28640d0178;p=bbtk.git diff --git a/samples/SampleInterpreter/CMakeLists.txt b/samples/SampleInterpreter/CMakeLists.txt index 7b32e37..045e79b 100644 --- a/samples/SampleInterpreter/CMakeLists.txt +++ b/samples/SampleInterpreter/CMakeLists.txt @@ -13,6 +13,9 @@ SET(SAMPLE bbtkSampleInterpreter) # main ADD_EXECUTABLE(${SAMPLE} ${SAMPLE}) +IF(WIN32) + SET_TARGET_PROPERTIES(${SAMPLE} PROPERTIES LINK_FLAGS /subsystem:console ) +ENDIF(WIN32) # Link with bbtk TARGET_LINK_LIBRARIES(${SAMPLE} ${BBTK_LIBRARIES})