Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 557111f

Browse files
committed
Rephrased message upon missing library props file
1 parent 73cd076 commit 557111f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

cmake/Platform/Libraries/LibrarySourcesArchitectureResolver.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ function(resolve_library_architecture _library_sources _return_var)
4141
set(lib_props_file ${parsed_args_LIB_PROPS_FILE})
4242
else ()
4343

44-
# Warn user and assume library is arch-agnostic
45-
message(STATUS "Library's properties file can't be found under its' root directory.\n\t"
46-
"Assuming the library is architecture-agnostic (supports all architectures)")
4744
set(${_return_var} "${_library_sources}" PARENT_SCOPE)
4845
return()
4946

cmake/Platform/Utilities/LibraryUtils.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ function(get_library_properties_file _library_root_directory _return_var)
1919
set(lib_props_file ${absolute_lib_root_dir}/${ARDUINO_CMAKE_LIBRARY_PROPERTIES_FILE_NAME})
2020

2121
if (NOT EXISTS ${lib_props_file})
22-
message(STATUS "Library's properties file doesn't exist under the given root directory.\n\t"
22+
message(STATUS "Library's properties file doesn't exist under the given root directory, "
23+
"assuming it's architecture-agnostic (supports all architectures)\n\t"
2324
"Root directory: ${absolute_lib_root_dir}")
2425
return()
2526
endif ()

0 commit comments

Comments
 (0)