Merge pull request #651 from cmitu/cmake-hint-sdl2

cmake: minor correction to support Ubuntu 20.04
This commit is contained in:
Jools Wills 2020-04-11 22:11:22 +01:00 committed by GitHub
commit 635e50d8d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#.rst: #.rst:
# FindRapidjson # FindRapidjson
# -------- # --------
# #

View file

@ -79,7 +79,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 SDL2 include/SDL2 include
PATHS ${SDL2_SEARCH_PATHS} PATHS ${SDL2_SEARCH_PATHS}
) )