From 2c88cd7ac0fe49e1b10b3a6e979e18f4297a13f9 Mon Sep 17 00:00:00 2001 From: xantares Date: Sat, 26 Nov 2022 18:23:34 +0100 Subject: [PATCH] CMake: Lowercase Winmm for case-sensitive fs Fix build on mingw from linux --- common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index b61227323d..4925935237 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -177,7 +177,7 @@ endif() if(WIN32) enable_language(ASM_MASM) target_sources(common PRIVATE FastJmp.asm) - target_link_libraries(common PUBLIC WIL::WIL D3D12MemAlloc Winmm.lib) + target_link_libraries(common PUBLIC WIL::WIL D3D12MemAlloc winmm) target_sources(common PRIVATE CrashHandler.cpp CrashHandler.h