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
+16
View File
@@ -0,0 +1,16 @@
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(SDL3)
find_dependency(hdk-grid)
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)