Added linker flag for windows

This commit is contained in:
Martin Brodbeck 2018-08-03 11:33:23 +02:00
parent 0a91de4d86
commit de91a804a0

View file

@ -30,3 +30,7 @@ set(GUI_SOURCES
add_executable(kima2 ${GUI_SOURCES}) add_executable(kima2 ${GUI_SOURCES})
target_include_directories(kima2 PRIVATE ${PROJECT_BINARY_DIR}) target_include_directories(kima2 PRIVATE ${PROJECT_BINARY_DIR})
target_link_libraries(kima2 core Qt5::Widgets Qt5::PrintSupport stdc++fs) target_link_libraries(kima2 core Qt5::Widgets Qt5::PrintSupport stdc++fs)
if(WIN32)
set_target_properties(kima2 PROPERTIES LINK_FLAGS "-mwindows")
endif(WIN32)