summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPackConfig/Version3-check.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CPackConfig/Version3-check.cmake')
-rw-r--r--Tests/RunCMake/CPackConfig/Version3-check.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPackConfig/Version3-check.cmake b/Tests/RunCMake/CPackConfig/Version3-check.cmake
new file mode 100644
index 0000000..d4a3983
--- /dev/null
+++ b/Tests/RunCMake/CPackConfig/Version3-check.cmake
@@ -0,0 +1,6 @@
+include(${RunCMake_SOURCE_DIR}/check.cmake)
+
+test_variable(CPACK_PACKAGE_VERSION "1.1.0")
+test_variable(CPACK_PACKAGE_VERSION_MAJOR "1")
+test_variable(CPACK_PACKAGE_VERSION_MINOR "1")
+test_variable(CPACK_PACKAGE_VERSION_PATCH "0")