aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qt5-3d
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/qt5-3d')
-rw-r--r--vcpkg/ports/qt5-3d/portfile.cmake10
-rw-r--r--vcpkg/ports/qt5-3d/vcpkg.json20
2 files changed, 30 insertions, 0 deletions
diff --git a/vcpkg/ports/qt5-3d/portfile.cmake b/vcpkg/ports/qt5-3d/portfile.cmake
new file mode 100644
index 0000000..842418a
--- /dev/null
+++ b/vcpkg/ports/qt5-3d/portfile.cmake
@@ -0,0 +1,10 @@
+include("${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake")
+
+set(OPTIONS -system-assimp)
+
+x_vcpkg_pkgconfig_get_modules(PREFIX assimp MODULES assimp LIBS)
+
+set(OPT_REL "ASSIMP_LIBS=${assimp_LIBS_RELEASE}")
+set(OPT_DBG "ASSIMP_LIBS=${assimp_LIBS_DEBUG}")
+
+qt_submodule_installation(BUILD_OPTIONS ${OPTIONS} BUILD_OPTIONS_RELEASE ${OPT_REL} BUILD_OPTIONS_DEBUG ${OPT_DBG})
diff --git a/vcpkg/ports/qt5-3d/vcpkg.json b/vcpkg/ports/qt5-3d/vcpkg.json
new file mode 100644
index 0000000..849d168
--- /dev/null
+++ b/vcpkg/ports/qt5-3d/vcpkg.json
@@ -0,0 +1,20 @@
+{
+ "name": "qt5-3d",
+ "version": "5.15.18",
+ "description": "Qt 3D provides functionality for near-realtime simulation systems with support for 2D and 3D rendering in both Qt C++ and Qt Quick applications.",
+ "license": null,
+ "dependencies": [
+ "assimp",
+ {
+ "name": "qt5-base",
+ "default-features": false
+ },
+ "qt5-declarative",
+ "qt5-gamepad",
+ "qt5-imageformats",
+ {
+ "name": "vcpkg-pkgconfig-get-modules",
+ "host": true
+ }
+ ]
+}