|
|
commit d94496582c195bc618b68c2e02de4ef6c07b7afb
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Tue Aug 25 18:41:17 2020 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Tue Aug 25 18:41:43 2020 +0200
Towards construction of fltk-config by CMake under macOS (WIP).
CMake/resources.cmake | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git CMake/resources.cmake CMake/resources.cmake
index a5d4b5a..3ec95b3 100644
--- CMake/resources.cmake
+++ CMake/resources.cmake
@@ -152,7 +152,9 @@ mark_as_advanced (FREETYPE_PATH)
# libraries
find_library (LIB_CAIRO cairo)
find_library (LIB_dl dl)
-find_library (LIB_fontconfig fontconfig)
+if ((NOT APPLE) OR OPTION_APPLE_X11)
+ find_library (LIB_fontconfig fontconfig)
+endif ((NOT APPLE) OR OPTION_APPLE_X11)
find_library (LIB_freetype freetype)
find_library (LIB_GL GL)
find_library (LIB_MesaGL MesaGL)
[ Direct Link to Message ] | |
|
| |