summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-02-02 14:14:38 +0000
committerManolo Gouy <Manolo>2016-02-02 14:14:38 +0000
commitf057cca22b03b847d7a08b8ba83354d885142c52 (patch)
treeabbd51f96c779733570590f427b855b7562f9587 /CMake
parent54c1c935e6d7c6456c951aecf84c242652bc7b1a (diff)
To support OPTION_APPLE_X11
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11122 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake3
1 files changed, 1 insertions, 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)