Fix copying of SDL2 lib to `/Assets` when building w/ debug symbols

This commit is contained in:
YoshiRulz 2025-04-07 10:07:15 +10:00
parent 976f430531
commit 41ad4ff6e9
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
# Silence a warning when specifying INTERPROCEDURAL_OPTIMIZATION
set(CMAKE_POLICY_DEFAULT_CMP0069 NEW)
set(SDL_CMAKE_DEBUG_POSTFIX "") # would be `libSDL2d.so` without this, but EmuHawk only knows the usual `libSDL.so` filename
add_subdirectory(SDL)
if(WIN32)