networking: Fix invalid case for winmm

Windows systems are case-insensitive. However, POSIX systems could fail
to find libwinmm.a, as distributed by the x86_64-w64-mingw32
cross-toolchain.


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9561 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ee33f425318e003be21d72f64daa3e6726607da0
Former-commit-id: 1b02cc82dc6ddfe2670a31c274d40fc3ac1a115f
This commit is contained in:
xavi92 2024-10-27 07:39:32 +00:00
parent ae54f23f05
commit 7d34dd5f70
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ ADD_ENET_LIBRARY(csnetworking)
ADD_SDL2_LIBRARY(csnetworking)
IF(WIN32)
TARGET_LINK_LIBRARIES(csnetworking Winmm ws2_32)
TARGET_LINK_LIBRARIES(csnetworking winmm ws2_32)
ENDIF(WIN32)
IF(MSVC)

View file

@ -30,7 +30,7 @@ ADD_ENET_LIBRARY(networking)
ADD_SDL2_LIBRARY(networking)
IF(WIN32)
TARGET_LINK_LIBRARIES(networking Winmm ws2_32)
TARGET_LINK_LIBRARIES(networking winmm ws2_32)
ENDIF(WIN32)
IF(MSVC)