cmake: remove empty strings from FetchContent

remove empty strings from FetchContent to eliminate cmake build warnings like this:

CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1564 (cmake_parse_arguments):
  The BUILD_COMMAND keyword was followed by an empty string or no value at
  all.  Policy CMP0174 is not set, so cmake_parse_arguments() will unset the
  ARG_BUILD_COMMAND variable rather than setting it to an empty string.

Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
raiden00pl 2025-03-28 13:45:16 +01:00 committed by Xiang Xiao
parent 4bca48431a
commit 3764ab041a
10 changed files with 5 additions and 91 deletions

View file

@ -32,14 +32,6 @@ if(CONFIG_CRYPTO_TINYDTLS)
${CMAKE_CURRENT_LIST_DIR}/tinydtls
BINARY_DIR
${CMAKE_BINARY_DIR}/apps/crypto/tinydtls/tinydtls
CONFIGURE_COMMAND
""
BUILD_COMMAND
""
INSTALL_COMMAND
""
TEST_COMMAND
""
DOWNLOAD_NO_PROGRESS true
TIMEOUT 30)