mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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:
parent
4bca48431a
commit
3764ab041a
10 changed files with 5 additions and 91 deletions
|
|
@ -29,18 +29,8 @@ if(CONFIG_TESTING_UNITY)
|
|||
DOWNLOAD_NAME "v${CONFIG_TESTING_UNITY_VERSION}.tar.gz"
|
||||
DOWNLOAD_DIR ${CMAKE_CURRENT_LIST_DIR}
|
||||
URL "${CONFIG_TESTING_UNITY_URL}/v${CONFIG_TESTING_UNITY_VERSION}.tar.gz"
|
||||
SOURCE_DIR
|
||||
${CMAKE_CURRENT_LIST_DIR}/Unity
|
||||
BINARY_DIR
|
||||
SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/Unity BINARY_DIR
|
||||
${CMAKE_BINARY_DIR}/apps/testing/unity/unity
|
||||
CONFIGURE_COMMAND
|
||||
""
|
||||
BUILD_COMMAND
|
||||
""
|
||||
INSTALL_COMMAND
|
||||
""
|
||||
TEST_COMMAND
|
||||
""
|
||||
DOWNLOAD_NO_PROGRESS true
|
||||
TIMEOUT 30)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue