summaryrefslogtreecommitdiffstats
path: root/Tests/CPackUseShortProjectVersion/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CPackUseShortProjectVersion/CMakeLists.txt')
-rw-r--r--Tests/CPackUseShortProjectVersion/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CPackUseShortProjectVersion/CMakeLists.txt b/Tests/CPackUseShortProjectVersion/CMakeLists.txt
new file mode 100644
index 0000000..855bc64
--- /dev/null
+++ b/Tests/CPackUseShortProjectVersion/CMakeLists.txt
@@ -0,0 +1,6 @@
+cmake_minimum_required(VERSION 3.2)
+project(CPackUseProjectVersion VERSION 2 LANGUAGES NONE)
+
+include(CPack)
+
+message("CPACK_PACKAGE_VERSION=${CPACK_PACKAGE_VERSION}")