From a07f27e02a7189f3735412612d305ddad65987af Mon Sep 17 00:00:00 2001 From: cmitu <31816814+cmitu@users.noreply.github.com> Date: Sat, 11 Apr 2020 19:36:25 +0100 Subject: [PATCH] cmake: minor correction to support Ubuntu 20.04 --- CMake/Packages/FindRapidJSON.cmake | 2 +- CMake/Packages/FindSDL2.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMake/Packages/FindRapidJSON.cmake b/CMake/Packages/FindRapidJSON.cmake index b5b69e727..731461a34 100644 --- a/CMake/Packages/FindRapidJSON.cmake +++ b/CMake/Packages/FindRapidJSON.cmake @@ -1,4 +1,4 @@ -#.rst: +#.rst: # FindRapidjson # -------- # diff --git a/CMake/Packages/FindSDL2.cmake b/CMake/Packages/FindSDL2.cmake index 236d6b4b9..68253ba0b 100644 --- a/CMake/Packages/FindSDL2.cmake +++ b/CMake/Packages/FindSDL2.cmake @@ -79,7 +79,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} )