Skip to content
Snippets Groups Projects
Commit 649dd7bd authored by Eidolon's avatar Eidolon Committed by Alam Ed Arias
Browse files

Fix SDL2 searching for main when it wasn't necessary.

parent 9e306394
No related branches found
No related tags found
No related merge requests found
......@@ -27,19 +27,7 @@ find_library(SDL2_LIBRARY
"/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(SDL2_PROCESS_INCLUDES SDL2_INCLUDE_DIR)
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_MAIN)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment