aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Roberts <bill.roberts@arm.com>2024-02-20 08:16:57 -0600
committerBill Roberts <bill.roberts@arm.com>2024-02-20 09:34:21 -0600
commitaab7f7f517c01e8d21ff0fb72fdd10378f5a0073 (patch)
treecc33ea6894122353f7ba3a444e085cff8fbfdc97 /CMakeLists.txt
parent9fb53a9e26d10cc9da555f1abeadeeec5ee33960 (diff)
downloadmbedtls-aab7f7f517c01e8d21ff0fb72fdd10378f5a0073.zip
mbedtls-aab7f7f517c01e8d21ff0fb72fdd10378f5a0073.tar.gz
mbedtls-aab7f7f517c01e8d21ff0fb72fdd10378f5a0073.tar.bz2
project: set version
Set the version of the project within the project() declaration so other cmake scripts can use PROJECT_VERSION. Signed-off-by: Bill Roberts <bill.roberts@arm.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5585c78..179c3f6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,9 +34,15 @@ cmake_policy(SET CMP0011 NEW)
cmake_policy(SET CMP0012 NEW)
if(TEST_CPP)
- project("Mbed TLS" LANGUAGES C CXX)
+ project("Mbed TLS"
+ LANGUAGES C CXX
+ VERSION 3.5.2
+ )
else()
- project("Mbed TLS" LANGUAGES C)
+ project("Mbed TLS"
+ LANGUAGES C
+ VERSION 3.5.2
+ )
endif()
include(GNUInstallDirs)