Skip to content

Commit

Permalink
Remove MINGW debug only for debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
alef committed Feb 15, 2024
1 parent fda4a4b commit 93c7bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if (TILES)
${RESOURCE_RC})
if(MSYS2)
target_link_options(cataclysm-tiles PRIVATE
"LINKER:--strip-debug"
"$<$<CONFIG:Debug,RelWithDebInfo>:LINKER:--strip-debug>"
)
else()
# Use only our RT_MANIFEST from resource.rc
Expand Down

0 comments on commit 93c7bff

Please sign in to comment.