cmake: Added find_package module for fontconfig which is not available with cmake < 3.14

This file has been taken from cmake 3.14
This commit is contained in:
Ralf Habacker
2019-07-15 18:52:14 +02:00
parent 8a4cdcf264
commit dc9f6f2751
2 changed files with 102 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
find_package(Fontconfig MODULE QUIET)
find_package(Fontconfig MODULE)
IF(DYNAMIC_OPENSCENEGRAPH)
ADD_DEFINITIONS(-DOSGTEXT_LIBRARY)