Remove WinMain

This commit is contained in:
Nicolas Werner 2023-06-03 02:32:05 +02:00
parent 308efd48b6
commit 3b4daca53e
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -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()