From 3b4daca53e8a8f3141fa0f563814c3793066a63a Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 3 Jun 2023 02:32:05 +0200 Subject: [PATCH] Remove WinMain --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae91ae95..eb75f1ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -694,7 +694,6 @@ if(APPLE) target_link_libraries (nheko PRIVATE Qt6::MacExtras) elseif(WIN32) target_compile_definitions(nheko PRIVATE WIN32_LEAN_AND_MEAN) - target_link_libraries (nheko PRIVATE ${NTDLIB} Qt6::WinMain) if(MSVC) target_compile_options(nheko PUBLIC "/Zc:__cplusplus") endif()