Skip to content

Commit

Permalink
Dependencies: update SDL2 to 2.30.11
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Jan 23, 2025
1 parent d647a1c commit 18b4322
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,16 @@ if(OGRE_BUILD_DEPENDENCIES AND NOT EXISTS ${OGREDEPS_PATH})
if(MSVC OR MINGW OR SKBUILD) # other platforms dont need this
message(STATUS "Building SDL2")
file(DOWNLOAD
https://libsdl.org/release/SDL2-2.30.4.tar.gz
${PROJECT_BINARY_DIR}/SDL2-2.30.4.tar.gz)
https://libsdl.org/release/SDL2-2.30.11.tar.gz
${PROJECT_BINARY_DIR}/SDL2-2.30.11.tar.gz)
execute_process(COMMAND ${CMAKE_COMMAND}
-E tar xf SDL2-2.30.4.tar.gz WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
-E tar xf SDL2-2.30.11.tar.gz WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
execute_process(COMMAND ${CMAKE_COMMAND}
-E make_directory ${PROJECT_BINARY_DIR}/SDL2-build)
execute_process(COMMAND ${BUILD_COMMAND_COMMON}
-DSDL_STATIC=FALSE
-DCMAKE_INSTALL_LIBDIR=lib
${PROJECT_BINARY_DIR}/SDL2-2.30.4
${PROJECT_BINARY_DIR}/SDL2-2.30.11
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/SDL2-build)
execute_process(COMMAND ${CMAKE_COMMAND}
--build ${PROJECT_BINARY_DIR}/SDL2-build ${BUILD_COMMAND_OPTS})
Expand Down

0 comments on commit 18b4322

Please sign in to comment.