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