summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/cmake-modules/assimp-hunter-config.cmake.in
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
committersanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
commit058f98a63658dc1a2579826ba167fd61bed1e21f (patch)
treebcba07a1615a14d943f3af3f815a42f3be86b2f3 /src/mesh/assimp-master/cmake-modules/assimp-hunter-config.cmake.in
parent2f8028ac9e0812cb6f3cbb08f0f419e4e717bd22 (diff)
add assimp submodule
Diffstat (limited to 'src/mesh/assimp-master/cmake-modules/assimp-hunter-config.cmake.in')
-rw-r--r--src/mesh/assimp-master/cmake-modules/assimp-hunter-config.cmake.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mesh/assimp-master/cmake-modules/assimp-hunter-config.cmake.in b/src/mesh/assimp-master/cmake-modules/assimp-hunter-config.cmake.in
new file mode 100644
index 0000000..1988f7e
--- /dev/null
+++ b/src/mesh/assimp-master/cmake-modules/assimp-hunter-config.cmake.in
@@ -0,0 +1,19 @@
+@PACKAGE_INIT@
+
+find_package(RapidJSON CONFIG REQUIRED)
+find_package(ZLIB CONFIG REQUIRED)
+find_package(utf8cpp CONFIG REQUIRED)
+find_package(minizip CONFIG REQUIRED)
+find_package(openddlparser CONFIG REQUIRED)
+find_package(poly2tri CONFIG REQUIRED)
+find_package(polyclipping CONFIG REQUIRED)
+find_package(zip CONFIG REQUIRED)
+find_package(pugixml CONFIG REQUIRED)
+find_package(stb CONFIG REQUIRED)
+
+if(@ASSIMP_BUILD_DRACO@)
+ find_package(draco CONFIG REQUIRED)
+endif()
+
+include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
+check_required_components("@PROJECT_NAME@")