mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
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>
This commit is contained in:
parent
9fb53a9e26
commit
aab7f7f517
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user