FLTK logo

[master] d944965 - Towards construction of fltk-config by CMake under macOS (WIP).

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] d944965 - Towards construction of fltk-config by CMake under macOS (WIP). "ManoloFLTK" Aug 25, 2020  
 
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 ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.