-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Open
Labels
area: mbedTLS / PSA CryptobugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Description
Describe the bug
Seen when configuring an application for a non-secure board target:
CMake Deprecation Warning at /tmp/aa/modules/crypto/mbedtls/CMakeLists.txt:21 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Zephyr has been using 3.20 as the minimum version for a long time, this needs fixing or is likely to just suddenly break for everyone in a future update.
Unrelated, but TFM also emits this:
CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:250 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Call Stack (most recent call first):
/tmp/aa/modules/crypto/mbedtls/CMakeLists.txt:52 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
which should probably be looked into
Regression
- This is a regression.
Steps to reproduce
No response
Relevant log output
Impact
Annoyance – Minor irritation; no significant impact on usability or functionality.
Environment
No response
Additional Context
No response
Metadata
Metadata
Labels
area: mbedTLS / PSA CryptobugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug