Added handling of iOS and Android to make sure FontConfig is only used for Desktop builds

This commit is contained in:
Robert Osfield 2019-07-22 17:20:10 +01:00
parent 060a641c2b
commit ccbc632afc

View File

@ -1,4 +1,6 @@
find_package(Fontconfig MODULE)
IF(NOT OSG_BUILD_PLATFORM_IPHONE AND NOT ANDROID)
find_package(Fontconfig MODULE)
ENDIF()
IF(DYNAMIC_OPENSCENEGRAPH)
ADD_DEFINITIONS(-DOSGTEXT_LIBRARY)