CMake: Add argument to specify console app that uses gui libraries

This commit is contained in:
Maarten Bent
2021-02-07 20:11:56 +01:00
parent 414f211b8a
commit 7b79423470
4 changed files with 7 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ set(TEST_SRC
allheaders.h
)
wx_add_test(test_headers ${TEST_SRC})
wx_add_test(test_headers CONSOLE_GUI ${TEST_SRC})
if(wxUSE_SOCKETS)
wx_exe_link_libraries(test_headers wxnet)
endif()