This commit is contained in:
2025-10-06 04:18:49 +08:00
commit df2cacdb92
2784 changed files with 1280840 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
set(SDL2_net_FOUND ON)
set(SDL2NET_SDL2_REQUIRED_VERSION @SDL_REQUIRED_VERSION@)
include(CMakeFindDependencyMacro)
#FIXME: can't add SDL2NET_SDL2_REQUIRED_VERSION since not all SDL2 installs ship SDL2ConfigVersion.cmake
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2_net-shared-targets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/SDL2_net-shared-targets.cmake")
endif()
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2_net-static-targets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/SDL2_net-static-targets.cmake")
endif()