X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=CMakeLists.txt;h=c8b4d6ad08740a1d9404db304e9d182bff80cf25;hp=d210f92ae3cd351b8b87e5254319b00025165b62;hb=b732b48fafdb5d237248a56764e184e10281a712;hpb=c5f9553c0b1ccd134b0d8f37b1b6c31ef3be114c 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()