aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/data/Shiboken2ConfigVersion.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/data/Shiboken2ConfigVersion.cmake.in')
-rw-r--r--sources/shiboken2/data/Shiboken2ConfigVersion.cmake.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/sources/shiboken2/data/Shiboken2ConfigVersion.cmake.in b/sources/shiboken2/data/Shiboken2ConfigVersion.cmake.in
new file mode 100644
index 000000000..9460099b2
--- /dev/null
+++ b/sources/shiboken2/data/Shiboken2ConfigVersion.cmake.in
@@ -0,0 +1,10 @@
+set(PACKAGE_VERSION @shiboken2_VERSION@)
+
+if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
+else("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
+ if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}")
+ set(PACKAGE_VERSION_EXACT TRUE)
+ endif( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}")
+endif("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )