Remove WinMain

qt66
Nicolas Werner 1 year ago
parent 308efd48b6
commit 3b4daca53e
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 1
      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()

Loading…
Cancel
Save