Merge pull request #828 from devnexen/haiku_cmake_build_ease

cmake Haiku build little improvement for SDL retrieval.
This commit is contained in:
Yamagi 2022-05-10 18:47:07 +02:00 committed by GitHub
commit e3f2d1e6d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,13 +76,14 @@ SET(SDL2_SEARCH_PATHS
/opt/local # DarwinPorts /opt/local # DarwinPorts
/opt/csw # Blastwave /opt/csw # Blastwave
/opt /opt
/boot/system/develop
${SDL2_PATH} ${SDL2_PATH}
) )
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 include/SDL2 include headers/SDL2
PATHS ${SDL2_SEARCH_PATHS} PATHS ${SDL2_SEARCH_PATHS}
) )