mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00: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:
parent
efe13c3d04
commit
a39583f1ef
@ -132,6 +132,9 @@ endif()
|
|||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_link_libraries( ${CLDLL_LIBRARY} user32.lib )
|
target_link_libraries( ${CLDLL_LIBRARY} user32.lib )
|
||||||
|
if (GOLDSOURCE_SUPPORT)
|
||||||
|
target_link_libraries( ${CLDLL_LIBRARY} winmm.lib )
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_target_properties (${CLDLL_LIBRARY} PROPERTIES
|
set_target_properties (${CLDLL_LIBRARY} PROPERTIES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user