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

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2023-01-31 01:59:21 +01:00
1 parent 3aa456dead
commit 9cf34908a1
5 files changed
+25 -35

No files matched your search

+2 -2
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()