From f057cca22b03b847d7a08b8ba83354d885142c52 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 2 Feb 2016 14:14:38 +0000 Subject: To support OPTION_APPLE_X11 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CMake/options.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMake/options.cmake b/CMake/options.cmake index 49d94070c..8ca6bbe3e 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -129,8 +129,7 @@ endif(HAVE_GL) if(OPTION_USE_GL) if(OPTION_APPLE_X11) - find_library(OPENGL_gl_LIBRARY GL) - find_library(OPENGL_glu_LIBRARY GLU) + set(OPENGL_LIBRARIES /opt/X11/lib/libGL.dylib /opt/X11/lib/libGLU.dylib) endif(OPTION_APPLE_X11) include(FindOpenGL) endif(OPTION_USE_GL) -- cgit v1.2.3