File: SDL2_netConfig.cmake.in

package info (click to toggle)
libsdl2-net 2.2.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,596 kB
  • sloc: sh: 10,749; ansic: 1,802; makefile: 79
file content (14 lines) | stat: -rw-r--r-- 521 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
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()