Add back linker options somehow lost in 8cedbb0.

Closes #1129, fixed by @ArminiusTux.
This commit is contained in:
Yamagi 2024-07-29 19:18:48 +02:00
parent 4b3545697e
commit c72d0c1b39

View file

@ -748,7 +748,7 @@ set_target_properties(q2ded PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/release
)
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
target_link_libraries(q2ded ${yquake2LinkerFlags})
target_link_libraries(q2ded ${yquake2LinkerFlags} ${yquake2ZLibLinkerFlags} ws2_32 winmm)
else()
target_link_libraries(q2ded ${yquake2LinkerFlags} ${yquake2ServerLinkerFlags} ${yquake2ZLibLinkerFlags})
endif()