Skip to content
Snippets Groups Projects
Select Git revision
  • e08bd452279dbeedbf876fec465ea51a137455a8
  • next default protected
  • fix-opengl-black-background-color
  • reconsider-usable-by-lua
  • fix-soundplay-fix
  • port-namechange-srb2classic
  • restore-timeout-fix-from-hanicef
  • mobj-gravity-field
  • fix-player-ping-being-writeable
  • SRB2_release_2.2.13
  • SRB2_release_2.2.12
  • SRB2_release_2.2.11
  • SRB2_release_2.2.10
  • SRB2_release_2.2.9
  • SRB2_release_2.2.8
  • SRB2_release_2.2.7
  • SRB2_release_2.2.6
  • SRB2_release_2.2.5
  • SRB2_release_2.2.4
  • SRB2_release_2.2.3
  • SRB2_release_2.2.2
  • SRB2_release_2.2.1
  • SRB2_release_2.2.0
  • SRB2_release_2.1.25
  • SRB2_release_2.1.24
  • SRB2_release_2.1.23
  • SRB2_release_2.1.22
  • SRB2_release_2.1.21
  • SRB2_release_2.1.20
29 results

i_tcp.c

Blame
  • Forked from STJr / SRB2
    Source project has a limited visibility.
    FindSDL2_main.cmake 694 B
    # Find SDL2
    # Once done, this will define
    #
    #  SDL2_MAIN_FOUND - system has SDL2
    #  SDL2_MAIN_INCLUDE_DIRS - SDL2 include directories
    #  SDL2_MAIN_LIBRARIES - link libraries
    
    include(LibFindMacros)
    
    libfind_pkg_check_modules(SDL2_MAIN_PKGCONF SDL2)
    
    # includes
    find_path(SDL2_MAIN_INCLUDE_DIR
    	NAMES SDL.h
    	PATHS
    		${SDL2_MAIN_PKGCONF_INCLUDE_DIRS}
    		"/usr/include/SDL2"
    		"/usr/local/include/SDL2"
    )
    
    # library
    find_library(SDL2_MAIN_LIBRARY
    	NAMES SDL2_main
    	PATHS
    		${SDL2_MAIN_PKGCONF_LIBRARY_DIRS}
    		"/usr/lib"
    		"/usr/local/lib"
    )
    
    
    # set include dir variables
    set(SDL2_MAIN_PROCESS_INCLUDES SDL2_MAIN_INCLUDE_DIR)
    set(SDL2_MAIN_PROCESS_LIBS SDL2_MAIN_LIBRARY)
    libfind_process(SDL2_MAIN)