summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)