diff options
author | Antonio de Angelis <Antonio.deAngelis@arm.com> | 2023-05-11 18:39:17 +0200 |
---|---|---|
committer | Antonio de Angelis <Antonio.deAngelis@arm.com> | 2023-05-11 18:39:20 +0200 |
commit | 1a0feb394c1df2592ce3c148d76e90cbe60a35b9 (patch) | |
tree | 453df6276650a107de6b9c0eda6817f75e413203 /CMakeLists.txt | |
parent | e06d8632677b4c90af99f4da285577e56b67da5c (diff) | |
download | mbedtls-1a0feb394c1df2592ce3c148d76e90cbe60a35b9.zip mbedtls-1a0feb394c1df2592ce3c148d76e90cbe60a35b9.tar.gz mbedtls-1a0feb394c1df2592ce3c148d76e90cbe60a35b9.tar.bz2 |
Set LANGUAGES explicitly in CMakeLists.txt project()
When Mbed TLS is built as a TF-M subproject with a recent
enough version of cmake (i.e. 3.22), GNUInstallDirs complains
about LANGUAGES not being set in project when the short
signature is used. So make sure to use the normal signature,
i.e. set the LANGUAGES option explicitly
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d27a82..6840295 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,9 +34,9 @@ cmake_policy(SET CMP0011 NEW) cmake_policy(SET CMP0012 NEW) if(TEST_CPP) - project("mbed TLS" C CXX) + project("mbed TLS" LANGUAGES C CXX) else() - project("mbed TLS" C) + project("mbed TLS" LANGUAGES C) endif() include(GNUInstallDirs) |