Update FindSDL2.cmake (#53)

Fix for Haiku, because nobody can write a cross-platform build tool.
This commit is contained in:
extrowerk 2021-10-19 07:06:37 +02:00 committed by GitHub
parent 685dfe78c2
commit 4188cd3455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ SET(SDL2_SEARCH_PATHS
FIND_PATH(SDL2_INCLUDE_DIR SDL.h FIND_PATH(SDL2_INCLUDE_DIR SDL.h
HINTS HINTS
$ENV{SDL2DIR} $ENV{SDL2DIR}
PATH_SUFFIXES include/SDL2 include PATH_SUFFIXES include/SDL2 include SDL2
PATHS ${SDL2_SEARCH_PATHS} PATHS ${SDL2_SEARCH_PATHS}
) )