summaryrefslogtreecommitdiffstats
path: root/bash-completion-config-version.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion-config-version.cmake.in')
-rw-r--r--bash-completion-config-version.cmake.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/bash-completion-config-version.cmake.in b/bash-completion-config-version.cmake.in
new file mode 100644
index 0000000..265e075
--- /dev/null
+++ b/bash-completion-config-version.cmake.in
@@ -0,0 +1,7 @@
+set (PACKAGE_VERSION "@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 ()