← Back to team overview

kicad-developers team mailing list archive

[PATCH 5/6] Link pcb_test_window with /SUBSYSTEM:WINDOWS

 

This is required for wx apps.
---
 qa/pcb_test_window/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qa/pcb_test_window/CMakeLists.txt b/qa/pcb_test_window/CMakeLists.txt
index c312ce62d..f3a83bc47 100644
--- a/qa/pcb_test_window/CMakeLists.txt
+++ b/qa/pcb_test_window/CMakeLists.txt
@@ -33,7 +33,7 @@ endif()
 
 add_dependencies( pnsrouter pcbcommon pcad2kicadpcb ${GITHUB_PLUGIN_LIBRARIES} )
 
-add_executable(test_window
+add_executable(test_window WIN32
   test.cpp
   ../common/pcb_test_frame.cpp
   ../common/mocks.cpp

References