diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 15dcd54..dd02999 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -30,3 +30,7 @@ set(GUI_SOURCES add_executable(kima2 ${GUI_SOURCES}) target_include_directories(kima2 PRIVATE ${PROJECT_BINARY_DIR}) target_link_libraries(kima2 core Qt5::Widgets Qt5::PrintSupport stdc++fs) +if(WIN32) + set_target_properties(kima2 PROPERTIES LINK_FLAGS "-mwindows") +endif(WIN32) +