]> Creatis software - bbtk.git/blobdiff - samples/SampleInterpreter/CMakeLists.txt
*** empty log message ***
[bbtk.git] / samples / SampleInterpreter / CMakeLists.txt
index 7b32e376c6860fff06c0fdc66a1aa17a1a350aa0..045e79b405902214d85b97a231b009afaf0d54d0 100644 (file)
@@ -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})