From 7476b78c64a6ad64d5a7c1084635b5d556482aa0 Mon Sep 17 00:00:00 2001 From: michael chung Date: Wed, 25 Dec 2013 06:40:51 -0500 Subject: [PATCH] 1.Build problems on Mac OS X (10.9) Recommended fix: https://github.com/mosra/magnum/blob/master/modules/FindSDL2.cmake#L46 to list only SDL_scancode.h (i.e. remove SDL.h) Test: Add SDL2 Lib to the /Libraries/Frameworks/ Builds file. Add SDL2 Lib and SDL1 to the /Libraries/Frameworks/ Build fails. Remove SDL.h from at line 46. Builds fine. Remove SDL 1 from the /Libraries/Frameworks/ Builds fine. --- modules/FindSDL2.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/FindSDL2.cmake b/modules/FindSDL2.cmake index 68ef7ae0f..a50ab39c7 100644 --- a/modules/FindSDL2.cmake +++ b/modules/FindSDL2.cmake @@ -43,7 +43,7 @@ endif() # Include dir find_path(SDL2_INCLUDE_DIR - NAMES SDL.h SDL_scancode.h + NAMES SDL_scancode.h PATH_SUFFIXES ${PATH_SUFFIXES} )