cmake: minor correction to support Ubuntu 20.04

This commit is contained in:
cmitu 2020-04-11 19:36:25 +01:00
parent 9f7284a409
commit a07f27e02a
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}
) )