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