summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-12-01 06:31:25 +0000
committerManolo Gouy <Manolo>2016-12-01 06:31:25 +0000
commitc794b5ecbdc49db2e02b15e927545370922d1389 (patch)
treec644ccaefb9727c990ad364499e7f38e7559979b /CMake
parentd11db7adfa367df73eb110fd89474b44a512e46f (diff)
MacOS platform: restore CMake building with OPTION_APPLE_X11 on.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index 013978002..a605b6903 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -63,6 +63,9 @@ if((NOT APPLE OR OPTION_APPLE_X11) AND NOT WIN32)
endif(X11_Xext_FOUND)
endif(X11_FOUND)
endif((NOT APPLE OR OPTION_APPLE_X11) AND NOT WIN32)
+if (OPTION_APPLE_X11)
+ include_directories(AFTER SYSTEM /opt/X11/include/freetype2)
+endif (OPTION_APPLE_X11)
if (OPTION_APPLE_SDL)
find_package(SDL2 REQUIRED)