diff options
| author | Manolo Gouy <Manolo> | 2015-12-31 06:19:59 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-12-31 06:19:59 +0000 |
| commit | 69ec698e41efbba438c1a758a63a097f19fa0a1f (patch) | |
| tree | 011720a8cf865dc951388bfde1d2fef7dd5f2528 /CMake/options.cmake | |
| parent | 3beb45165a4e3aac8ab6a6a4add93eb4cd48eceb (diff) | |
Mac OS: modified CMake config files to allow use of OPTION_APPLE_X11
to build an X11-using version of FLTK on the Mac OS platform.
This matches the recent support of the --enable-x11 option
by the configure script on the mac.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CMake/options.cmake')
| -rw-r--r-- | CMake/options.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake index 0aa687fef..49d94070c 100644 --- a/CMake/options.cmake +++ b/CMake/options.cmake @@ -128,6 +128,10 @@ if(HAVE_GL) endif(HAVE_GL) if(OPTION_USE_GL) + if(OPTION_APPLE_X11) + find_library(OPENGL_gl_LIBRARY GL) + find_library(OPENGL_glu_LIBRARY GLU) + endif(OPTION_APPLE_X11) include(FindOpenGL) endif(OPTION_USE_GL) |
