diff options
| author | Manolo Gouy <Manolo> | 2016-12-01 06:31:25 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-12-01 06:31:25 +0000 |
| commit | c794b5ecbdc49db2e02b15e927545370922d1389 (patch) | |
| tree | c644ccaefb9727c990ad364499e7f38e7559979b /CMake | |
| parent | d11db7adfa367df73eb110fd89474b44a512e46f (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.cmake | 3 |
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) |
