mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-17 07:10:18 +01:00
Update FindSDL2.cmake (#53)
Fix for Haiku, because nobody can write a cross-platform build tool.
This commit is contained in:
parent
685dfe78c2
commit
4188cd3455
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2 REQUIRED_VARS SDL2_LIBRARY SDL2_INCLUDE_DIR)
|
||||
|
|
Loading…
Reference in a new issue