Added linker flag for windows
This commit is contained in:
parent
0a91de4d86
commit
de91a804a0
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue