From c0f7e13b6fbcd1f69df96e796ad5a1a9d46b7aec Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 14 May 2023 04:15:46 +0300 Subject: [PATCH] music_xmp.cmake: Fixed linking with libXMP on Windows Bravo! This https://github.com/libxmp/libxmp/commit/32e8f08d6ac059b6e288b0b381a2fb6f12e82465 caused me to update three repos again and re-run tens of CIs just to fix this small thing... --- src/codecs/music_xmp.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codecs/music_xmp.cmake b/src/codecs/music_xmp.cmake index 2b41037..73f57ed 100644 --- a/src/codecs/music_xmp.cmake +++ b/src/codecs/music_xmp.cmake @@ -30,7 +30,7 @@ if(USE_XMP) elseif(NOT USE_XMP_LITE AND NOT USE_XMP_LITE_ENFORCE) # AudioCodecs package doesn't include lite version at all if(WIN32) - list(APPEND SDL_MIXER_DEFINITIONS -DBUILDING_STATIC) + list(APPEND SDL_MIXER_DEFINITIONS -DBUILDING_STATIC -DLIBXMP_STATIC) endif() if(MSVC)