From d7c9df760030ce5270d7c115a966ab0b11055620 Mon Sep 17 00:00:00 2001 From: Jonathan David Page Date: Mon, 10 Mar 2014 22:25:17 -0400 Subject: [PATCH] Adjust CMake module to provide correct deps on OSX Module will now give the OpenGL framework as a dependency instead of the nonexistent libGL. --- cmake/Modules/FindSFML.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindSFML.cmake b/cmake/Modules/FindSFML.cmake index b9fed1b4f..093521c3e 100644 --- a/cmake/Modules/FindSFML.cmake +++ b/cmake/Modules/FindSFML.cmake @@ -255,7 +255,7 @@ if(SFML_STATIC_LIBRARIES) set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "usbhid") endif() elseif(FIND_SFML_OS_MACOSX) - set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "GL" "-framework Foundation -framework AppKit -framework IOKit -framework Carbon") + set(SFML_WINDOW_DEPENDENCIES ${SFML_WINDOW_DEPENDENCIES} "-framework OpenGL -framework Foundation -framework AppKit -framework IOKit -framework Carbon") endif() set(SFML_DEPENDENCIES ${SFML_DEPENDENCIES} ${SFML_WINDOW_DEPENDENCIES}) endif()