From 4188cd3455be88f400e31a68a37364cad67250ff Mon Sep 17 00:00:00 2001 From: extrowerk <5569059+extrowerk@users.noreply.github.com> Date: Tue, 19 Oct 2021 07:06:37 +0200 Subject: [PATCH] Update FindSDL2.cmake (#53) Fix for Haiku, because nobody can write a cross-platform build tool. --- CMakeModules/FindSDL2.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeModules/FindSDL2.cmake b/CMakeModules/FindSDL2.cmake index 1e9276f..dfaaa17 100644 --- a/CMakeModules/FindSDL2.cmake +++ b/CMakeModules/FindSDL2.cmake @@ -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 include/SDL2 include SDL2 PATHS ${SDL2_SEARCH_PATHS} ) @@ -170,4 +170,4 @@ ENDIF(SDL2_LIBRARY_TEMP) INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2 REQUIRED_VARS SDL2_LIBRARY SDL2_INCLUDE_DIR) \ No newline at end of file +FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2 REQUIRED_VARS SDL2_LIBRARY SDL2_INCLUDE_DIR)