aboutsummaryrefslogtreecommitdiff
path: root/ports/osg
diff options
context:
space:
mode:
Diffstat (limited to 'ports/osg')
-rw-r--r--ports/osg/CONTROL2
-rw-r--r--ports/osg/portfile.cmake5
2 files changed, 6 insertions, 1 deletions
diff --git a/ports/osg/CONTROL b/ports/osg/CONTROL
index 8d453c36c..a05f5abe7 100644
--- a/ports/osg/CONTROL
+++ b/ports/osg/CONTROL
@@ -1,6 +1,6 @@
Source: osg
Version: 3.6.5
-Port-Version: 6
+Port-Version: 7
Homepage: https://github.com/openscenegraph/OpenSceneGraph
Description: The OpenSceneGraph is an open source high performance 3D graphics toolkit.
Build-Depends: zlib, fontconfig (!windows), expat (windows), openimageio (osx)
diff --git a/ports/osg/portfile.cmake b/ports/osg/portfile.cmake
index eaa94c2dd..b8aeaa712 100644
--- a/ports/osg/portfile.cmake
+++ b/ports/osg/portfile.cmake
@@ -54,6 +54,11 @@ if (VCPKG_TARGET_IS_WINDOWS AND OSG_DYNAMIC)
endif()
list(APPEND OPTIONS -DENABLE_NVTT=${ENABLE_NVTT})
+if (VCPKG_TARGET_IS_WINDOWS)
+ list(APPEND OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_FONTCONFIG=ON)
+ list(APPEND OPTIONS -DOSG_TEXT_USE_FONTCONFIG=OFF)
+endif()
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
tools BUILD_OSG_APPLICATIONS
examples BUILD_OSG_EXAMPLES