Browse Source

client: cmake: add winmm.lib dependency

This fixes a linker error when compiling for win32 with Goldsrc Support enabled.
hl_urbicide
Agent Agrimar 4 years ago committed by Alibek Omarov
parent
commit
a39583f1ef
  1. 3
      cl_dll/CMakeLists.txt

3
cl_dll/CMakeLists.txt

@ -132,6 +132,9 @@ endif() @@ -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

Loading…
Cancel
Save