mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-14 17:01:07 +00:00
Fix SDL2 searching for main when it wasn't necessary.
This commit is contained in:
parent
9e306394dd
commit
649dd7bd8d
1 changed files with 0 additions and 12 deletions
|
@ -27,19 +27,7 @@ find_library(SDL2_LIBRARY
|
||||||
"/usr/local/lib"
|
"/usr/local/lib"
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(SDL2_MAIN_LIBRARY
|
|
||||||
NAMES SDL2_main
|
|
||||||
PATHS
|
|
||||||
${SDL2_PKGCONF_LIBRARY_DIRS}
|
|
||||||
/usr/lib
|
|
||||||
/usr/local/lib
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
# set include dir variables
|
# set include dir variables
|
||||||
set(SDL2_PROCESS_INCLUDES SDL2_INCLUDE_DIR)
|
set(SDL2_PROCESS_INCLUDES SDL2_INCLUDE_DIR)
|
||||||
set(SDL2_PROCESS_LIBS SDL2_LIBRARY)
|
set(SDL2_PROCESS_LIBS SDL2_LIBRARY)
|
||||||
set(SDL2_MAIN_PROCESS_INCLUDES SDL2_INCLUDE_DIR)
|
|
||||||
set(SDL2_MAIN_PROCESS_LIBS SDL2_MAIN_LIBRARY)
|
|
||||||
libfind_process(SDL2)
|
libfind_process(SDL2)
|
||||||
libfind_process(SDL2_MAIN)
|
|
||||||
|
|
Loading…
Reference in a new issue