From 93c7bffcf438bc47ad4290d0479eb88d2f6a33ec Mon Sep 17 00:00:00 2001 From: alef Date: Thu, 15 Feb 2024 22:30:34 +0100 Subject: [PATCH] Remove MINGW debug only for debug builds --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2c52276d32f4b..49eae3a29fb90 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -49,7 +49,7 @@ if (TILES) ${RESOURCE_RC}) if(MSYS2) target_link_options(cataclysm-tiles PRIVATE - "LINKER:--strip-debug" + "$<$:LINKER:--strip-debug>" ) else() # Use only our RT_MANIFEST from resource.rc