summaryrefslogtreecommitdiff
path: root/libs/assimp/cmake-modules/assimp-hunter-config.cmake.in
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-04-16 11:55:09 -0500
committersanine <sanine.not@pm.me>2022-04-16 11:55:09 -0500
commitdb81b925d776103326128bf629cbdda576a223e7 (patch)
tree58bea8155c686733310009f6bed7363f91fbeb9d /libs/assimp/cmake-modules/assimp-hunter-config.cmake.in
parent55860037b14fb3893ba21cf2654c83d349cc1082 (diff)
move 3rd-party librarys into libs/ and add built-in honeysuckle
Diffstat (limited to 'libs/assimp/cmake-modules/assimp-hunter-config.cmake.in')
-rw-r--r--libs/assimp/cmake-modules/assimp-hunter-config.cmake.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/libs/assimp/cmake-modules/assimp-hunter-config.cmake.in b/libs/assimp/cmake-modules/assimp-hunter-config.cmake.in
new file mode 100644
index 0000000..1988f7e
--- /dev/null
+++ b/libs/assimp/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@")