mirror of
https://github.com/espressif/mbedtls.git
synced 2026-09-02 16:39:55 +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 <[email protected]>
This commit is contained in:
+8
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user