X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=CMakeLists.txt;h=d673cf81da6cd4b3d022b52eda8d5628edfeb353;hb=b0d8c0dca6f8976dd6545023d3b6079e605e0acf;hp=7bc13e05da62379b2c6e82497b60efbe198048fe;hpb=b42d25c43e52c900cbdd3e5cde0282961b8721e7;p=pulseview.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 7bc13e0..d673cf8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,6 +225,11 @@ add_executable(${PROJECT_NAME} target_link_libraries(${PROJECT_NAME} ${PULSEVIEW_LINK_LIBS}) +if(WIN32) +# Pass -mwindows so that no "DOS box" will open when PulseView is started. +set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-mwindows") +endif() + #=============================================================================== #= Installation #-------------------------------------------------------------------------------