Current status of SDL.

This commit is contained in:
BadQuanta
2026-05-13 19:48:22 +00:00
parent 28e9c4ba18
commit 15bb051619
24 changed files with 1806 additions and 360 deletions
+18
View File
@@ -0,0 +1,18 @@
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(hdk-grid)
# Include bundled SDL3 targets (defines SDL3::SDL3)
include("${CMAKE_CURRENT_LIST_DIR}/hdk-sdlBundledSDL3Targets.cmake")
if(NOT TARGET hdk::hdk-sdl)
set_and_check(_hdk_sdl_include_dir "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
add_library(hdk::hdk-sdl INTERFACE IMPORTED)
set_target_properties(hdk::hdk-sdl PROPERTIES
INTERFACE_LINK_LIBRARIES "SDL3::SDL3;hdk::hdk-grid"
INTERFACE_INCLUDE_DIRECTORIES "${_hdk_sdl_include_dir}"
)
endif()
check_required_components(hdk-sdl)