Fix SDL2 detection
Per #5389 (Comment)
Recommended by @PhysSong
Adopted from upstream SDL1 patch c5c217c6b5
This commit is contained in:
@@ -82,7 +82,7 @@ SET(SDL2_SEARCH_PATHS
|
||||
FIND_PATH(SDL2_INCLUDE_DIR SDL.h
|
||||
HINTS
|
||||
$ENV{SDL2DIR}
|
||||
PATH_SUFFIXES include/SDL2 include
|
||||
PATH_SUFFIXES SDL2 include/SDL2 include
|
||||
PATHS ${SDL2_SEARCH_PATHS}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user