1From 07309a49ad6c3e18c8c84fe54f1fdb9e103c4cc5 Mon Sep 17 00:00:00 2001 2From: Francois Perrad <francois.perrad@gadz.org> 3Date: Sun, 22 Oct 2017 13:00:01 +0200 4Subject: [PATCH] Do not reference host directory for headers 5 6Signed-off-by: Francois Perrad <francois.perrad@gadz.org> 7--- 8 cmake/FindSDL2.cmake | 5 ----- 9 1 file changed, 5 deletions(-) 10 11diff --git a/cmake/FindSDL2.cmake b/cmake/FindSDL2.cmake 12index 5cf4115..5e17919 100644 13--- a/cmake/FindSDL2.cmake 14+++ b/cmake/FindSDL2.cmake 15@@ -73,11 +73,6 @@ find_path(SDL2_INCLUDE_DIR SDL.h 16 PATH_SUFFIXES include/SDL2 include 17 ) 18 19-# On FreeBSD SDL depends on libiconv and SDL_stdinc.h includes iconv.h, which is 20-# located in ${LOCALBASE}/include. Append {LOCALBASE}/include to 21-# the SDL_INCLUDE_DIR, thus allow to build SDL apps out of box. 22-list(APPEND SDL2_INCLUDE_DIR /usr/local/include) 23- 24 find_library(SDL_LIBRARY_TEMP 25 NAMES SDL2 SDL2-2.0 26 HINTS 27-- 282.13.6 29 30