]> sigrok.org Git - sigrok-util.git/blob - cross-compile/mingw/pv_mwindows.patch
sigrok-cross-mingw: Allow for debug builds (default = off).
[sigrok-util.git] / cross-compile / mingw / pv_mwindows.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 80e90e9..d1a564f 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -398,11 +398,6 @@ endif()
6  
7  target_link_libraries(${PROJECT_NAME} ${PULSEVIEW_LINK_LIBS})
8  
9 -if(WIN32)
10 -       # Pass -mwindows so that no "DOS box" opens when PulseView is started.
11 -       set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-mwindows")
12 -endif()
13 -
14  #===============================================================================
15  #= Installation
16  #-------------------------------------------------------------------------------