]> Creatis software - bbtk.git/blobdiff - samples/SampleInterpreter/CMakeLists.txt
Windows compatibility
[bbtk.git] / samples / SampleInterpreter / CMakeLists.txt
index 7b32e376c6860fff06c0fdc66a1aa17a1a350aa0..be4949b554ceb3fc916746f40f2cbeb556c00b97 100644 (file)
@@ -13,6 +13,8 @@ SET(SAMPLE bbtkSampleInterpreter)
 
 # main 
 ADD_EXECUTABLE(${SAMPLE} ${SAMPLE})
+SET_TARGET_PROPERTIES(${SAMPLE} PROPERTIES LINK_FLAGS /subsystem:console )
+
 # Link with bbtk
 TARGET_LINK_LIBRARIES(${SAMPLE} ${BBTK_LIBRARIES})