Skip to content
Snippets Groups Projects
Commit 08439605 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Use win lean and mean to fix WinSock include issue

parent ec6953d0
No related branches found
No related tags found
No related merge requests found
......@@ -454,6 +454,7 @@ if(APPLE)
target_link_libraries (nheko ${NHEKO_LIBS} Qt5::MacExtras)
elseif(WIN32)
add_executable (nheko ${OS_BUNDLE} ${ICON_FILE} ${NHEKO_DEPS})
target_compile_definitions(nheko PRIVATE WIN32_LEAN_AND_MEAN)
target_link_libraries (nheko ${NTDLIB} ${NHEKO_LIBS} Qt5::WinMain)
else()
add_executable (nheko ${OS_BUNDLE} ${NHEKO_DEPS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment