summaryrefslogtreecommitdiff
path: root/CMake/options.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/options.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 e93ba5bee..60e9fc0e0 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -434,6 +434,9 @@ if(OPTION_USE_XFT)
set(USE_XFT X11_Xft_FOUND)
list(APPEND FLTK_LDLIBS -lXft)
set(FLTK_XFT_FOUND TRUE)
+ if(APPLE AND OPTION_APPLE_X11)
+ find_library(LIB_fontconfig fontconfig "/opt/X11/lib")
+ endif(APPLE AND OPTION_APPLE_X11)
else()
set(FLTK_XFT_FOUND FALSE)
endif(OPTION_USE_XFT)