summaryrefslogtreecommitdiff
path: root/CMAKE/lapack-config-version.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'CMAKE/lapack-config-version.cmake.in')
-rw-r--r--CMAKE/lapack-config-version.cmake.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMAKE/lapack-config-version.cmake.in b/CMAKE/lapack-config-version.cmake.in
new file mode 100644
index 0000000..2caeb4a
--- /dev/null
+++ b/CMAKE/lapack-config-version.cmake.in
@@ -0,0 +1,8 @@
+set(PACKAGE_VERSION "@LAPACK_VERSION@")
+if(NOT ${PACKAGE_FIND_VERSION} VERSION_GREATER ${PACKAGE_VERSION})
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+ if(${PACKAGE_FIND_VERSION} VERSION_EQUAL ${PACKAGE_VERSION})
+ set(PACKAGE_VERSION_EXACT 1)
+ endif()
+endif()
+