mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
fix #155: use correct subsystem on windows
This commit is contained in:
parent
95272ce4ab
commit
5e14bbd1cd
1 changed files with 6 additions and 1 deletions
|
@ -542,7 +542,12 @@ if(ASAN)
|
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address,undefined")
|
||||
endif()
|
||||
|
||||
add_executable (nheko ${OS_BUNDLE} ${NHEKO_DEPS})
|
||||
if(WIN32)
|
||||
add_executable (nheko WIN32 ${OS_BUNDLE} ${NHEKO_DEPS})
|
||||
else()
|
||||
add_executable (nheko ${OS_BUNDLE} ${NHEKO_DEPS})
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
target_link_libraries (nheko PRIVATE Qt5::MacExtras)
|
||||
elseif(WIN32)
|
||||
|
|
Loading…
Reference in a new issue