2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 01:47:45 +01:00

client: cmake: add winmm.lib dependency

This fixes a linker error when compiling for win32 with Goldsrc Support enabled.
This commit is contained in:
Agent Agrimar 2020-09-13 08:01:53 -04:00 committed by Alibek Omarov
parent efe13c3d04
commit a39583f1ef

View File

@ -132,6 +132,9 @@ endif()
if(WIN32)
target_link_libraries( ${CLDLL_LIBRARY} user32.lib )
if (GOLDSOURCE_SUPPORT)
target_link_libraries( ${CLDLL_LIBRARY} winmm.lib )
endif()
endif()
set_target_properties (${CLDLL_LIBRARY} PROPERTIES