summaryrefslogtreecommitdiffstats
path: root/GeneratorRunnerConfigVersion.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'GeneratorRunnerConfigVersion.cmake.in')
-rw-r--r--GeneratorRunnerConfigVersion.cmake.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/GeneratorRunnerConfigVersion.cmake.in b/GeneratorRunnerConfigVersion.cmake.in
new file mode 100644
index 0000000..fe0e36e
--- /dev/null
+++ b/GeneratorRunnerConfigVersion.cmake.in
@@ -0,0 +1,9 @@
+set(PACKAGE_VERSION @generator_VERSION@)
+if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL @generator_MAJOR_VERSION@)
+ if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL @generator_MINOR_VERSION@)
+ set(PACKAGE_VERSION_COMPATIBLE 1)
+ if("${PACKAGE_FIND_VERSION_PATCH}" EQUAL @generator_MICRO_VERSION@)
+ set(PACKAGE_VERSION_EXACT 1)
+ endif()
+ endif()
+endif()