aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/samples/external/assimp-4.1.0/AssimpConfigVersion.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/samples/external/assimp-4.1.0/AssimpConfigVersion.cmake.in')
-rw-r--r--NvCloth/samples/external/assimp-4.1.0/AssimpConfigVersion.cmake.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/NvCloth/samples/external/assimp-4.1.0/AssimpConfigVersion.cmake.in b/NvCloth/samples/external/assimp-4.1.0/AssimpConfigVersion.cmake.in
new file mode 100644
index 0000000..701fa61
--- /dev/null
+++ b/NvCloth/samples/external/assimp-4.1.0/AssimpConfigVersion.cmake.in
@@ -0,0 +1,11 @@
+set(ASSIMP_PACKAGE_VERSION "@ASSIMP_SOVERSION@")
+
+# Check whether the requested PACKAGE_FIND_VERSION is compatible
+if("${ASSIMP_PACKAGE_VERSION}" VERSION_LESS "${ASSIMP_PACKAGE_FIND_VERSION}")
+ set(ASSIMP_PACKAGE_VERSION_COMPATIBLE FALSE)
+else()
+ set(ASSIMP_PACKAGE_VERSION_COMPATIBLE TRUE)
+ if ("${ASSIMP_PACKAGE_VERSION}" VERSION_EQUAL "${ASSIMP_PACKAGE_FIND_VERSION}")
+ set(ASSIMP_PACKAGE_VERSION_EXACT TRUE)
+ endif()
+endif()