Skip to content

Commit

Permalink
Changing version of SDL for OSX, to fix issue with not getting all mo…
Browse files Browse the repository at this point in the history
…difiers
  • Loading branch information
tesonep committed Aug 29, 2024
1 parent 41f631a commit d03a38c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/importSDL2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ function(download_SDL2)
endif()
elseif(OSX)
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm64")
add_third_party_dependency("SDL2-2.24.1")
add_third_party_dependency("SDL2-2.30.6")
else()
add_third_party_dependency("SDL2-2.24.1")
add_third_party_dependency("SDL2-2.30.6")
endif()
else() #LINUX
If(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7l" OR (${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64"))
Expand All @@ -40,7 +40,7 @@ function(build_SDL2)
include(cmake/DownloadProject.cmake)
download_project(PROJ SDL2
GIT_REPOSITORY https://github.com/pharo-project/SDL2.git
GIT_TAG "v2.0.12"
GIT_TAG "v2.30.6"
${UPDATE_DISCONNECTED_IF_AVAILABLE}
)
add_subdirectory(${SDL2_SOURCE_DIR} ${SDL2_BINARY_DIR} EXCLUDE_FROM_ALL)
Expand Down

0 comments on commit d03a38c

Please sign in to comment.