sdl updated to version 3.2.24

This commit is contained in:
Yousef Khadadeh 2025-10-12 11:06:04 +03:00
parent 8511cae7ab
commit 79d768e8f6
16 changed files with 1037 additions and 3 deletions

View file

@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 3.15)
project(test_package)
find_package(SDL2 REQUIRED CONFIG)
add_executable(${PROJECT_NAME} test_package.cpp)
target_link_libraries(${PROJECT_NAME} SDL2::SDL2main)
if(TARGET SDL2::SDL2-static)
target_link_libraries(${PROJECT_NAME} SDL2::SDL2-static)
else()
target_link_libraries(${PROJECT_NAME} SDL2::SDL2)
endif()