From 77aef1d73236db7ca09e0e90217f28a136b8a525 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 8 May 2022 09:06:13 +0000 Subject: [PATCH] cmake Haiku build little improvement for SDL retrieval. --- stuff/cmake/modules/FindSDL2.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stuff/cmake/modules/FindSDL2.cmake b/stuff/cmake/modules/FindSDL2.cmake index 464ca2d9..a6536e1c 100644 --- a/stuff/cmake/modules/FindSDL2.cmake +++ b/stuff/cmake/modules/FindSDL2.cmake @@ -76,13 +76,14 @@ SET(SDL2_SEARCH_PATHS /opt/local # DarwinPorts /opt/csw # Blastwave /opt + /boot/system/develop ${SDL2_PATH} ) FIND_PATH(SDL2_INCLUDE_DIR SDL.h HINTS $ENV{SDL2DIR} - PATH_SUFFIXES include/SDL2 include + PATH_SUFFIXES include/SDL2 include headers/SDL2 PATHS ${SDL2_SEARCH_PATHS} )