SDL_BaseDir was returning the directory that contains the app, now it returns the resources directory
This commit is contained in:
marauder2k7 2023-10-20 22:23:38 +01:00
parent f10520e751
commit 9bc06f0887
3 changed files with 7 additions and 2 deletions

View file

@ -157,3 +157,8 @@ endif()
set(CMAKE_MACOSX_RPATH 1)
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
# Debug configuration for quicker debug builds
set(CMAKE_XCODE_ATTRIBUTE_LINKER_DISPLAYS_MANGLED_NAMES[variant=Debug] YES)
set(CMAKE_XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH[variant=Debug] YES)
set(CMAKE_XCODE_ATTRIBUTE_ENABLE_TESTABILITY[variant=Debug] YES)