Skip to content

Commit

Permalink
Strip MSYS/MINGW executable, like done in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
alef committed Feb 12, 2024
1 parent c26363a commit fda4a4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ if (TILES)
${MESSAGES_CPP}
${RESOURCE_RC})
if(MSYS2)
# /MANIFESTINPUT not supported by GNU linker
# Defaul embed via `windres.exe` compiling `resource.rc` -> `resource.rc.obj`
target_link_options(cataclysm-tiles PRIVATE
"LINKER:--strip-debug"
)
else()
# Use only our RT_MANIFEST from resource.rc
target_link_options(cataclysm-tiles PRIVATE
Expand Down

0 comments on commit fda4a4b

Please sign in to comment.