X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=c8b4d6ad08740a1d9404db304e9d182bff80cf25;hp=d210f92ae3cd351b8b87e5254319b00025165b62;hb=7f894d958eb5221161f0c6f2abbb57d43bb6aae7;hpb=2d458a761b9fb184cd1c903485293f86fd552637 diff --git a/CMakeLists.txt b/CMakeLists.txt index d210f92a..c8b4d6ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -448,7 +448,7 @@ endif() target_link_libraries(${PROJECT_NAME} ${PULSEVIEW_LINK_LIBS}) -if(WIN32) +if(WIN32 AND NOT ${CMAKE_BUILD_TYPE} STREQUAL "Debug") # Pass -mwindows so that no "DOS box" opens when PulseView is started. set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-mwindows") endif()