summary refs log tree commit diff
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-03-23 13:23:43 +0000
committerGitHub <noreply@github.com>2020-03-23 13:23:43 +0000
commit09138875464fbaaf2dbc42eee07b4b88d5ca6142 (patch)
treebee1dcf775bbf2efc4bab895d147f7cd90ca2c4f
parentTry to fix avatars not updating after deletion (diff)
parentfix #155: use correct subsystem on windows (diff)
downloadnheko-09138875464fbaaf2dbc42eee07b4b88d5ca6142.tar.xz
Merge pull request #156 from abma/patch-1
fix #155: use correct subsystem on windows
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt

index 8d0e4477..9742c48e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -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)