diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-08-25 18:41:17 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-08-25 18:41:43 +0200 |
| commit | d94496582c195bc618b68c2e02de4ef6c07b7afb (patch) | |
| tree | 5b1272ee2892b1491f4f6925492c999ac205710d | |
| parent | a4f6badfcdda00c21a493f20a9e4acc76732be69 (diff) | |
Towards construction of fltk-config by CMake under macOS (WIP).
| -rw-r--r-- | CMake/resources.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMake/resources.cmake b/CMake/resources.cmake index a5d4b5ae8..3ec95b3b6 100644 --- a/CMake/resources.cmake +++ b/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) |
