Added handling of iOS and Android to make sure FontConfig is only used for Desktop builds
This commit is contained in:
parent
060a641c2b
commit
ccbc632afc
@ -1,4 +1,6 @@
|
|||||||
|
IF(NOT OSG_BUILD_PLATFORM_IPHONE AND NOT ANDROID)
|
||||||
find_package(Fontconfig MODULE)
|
find_package(Fontconfig MODULE)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
IF(DYNAMIC_OPENSCENEGRAPH)
|
IF(DYNAMIC_OPENSCENEGRAPH)
|
||||||
ADD_DEFINITIONS(-DOSGTEXT_LIBRARY)
|
ADD_DEFINITIONS(-DOSGTEXT_LIBRARY)
|
||||||
|
Loading…
Reference in New Issue
Block a user