From c794b5ecbdc49db2e02b15e927545370922d1389 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 1 Dec 2016 06:31:25 +0000 Subject: 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 --- CMake/options.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMake') 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) -- cgit v1.2.3