cmake: pass VERSION to project() + don't use SDL_VERSION

This commit is contained in:
Anonymous Maarten
2023-01-09 14:11:54 +01:00
committed by Anonymous Maarten
parent 3aa456dead
commit 9cf34908a1
5 changed files with 25 additions and 35 deletions

View File

@@ -351,8 +351,8 @@ if(APPLE)
foreach(CURRENT_TARGET ${SDL_TEST_EXECUTABLES})
set_target_properties("${CURRENT_TARGET}" PROPERTIES
MACOSX_BUNDLE_GUI_IDENTIFIER "org.libsdl.${CURRENT_TARGET}"
MACOSX_BUNDLE_BUNDLE_VERSION "${SDL_VERSION}"
MACOSX_BUNDLE_SHORT_VERSION_STRING "${SDL_VERSION}"
MACOSX_BUNDLE_BUNDLE_VERSION "${SDL3_VERSION}"
MACOSX_BUNDLE_SHORT_VERSION_STRING "${SDL3_VERSION}"
)
endforeach()
endif()