File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -532,7 +532,9 @@ function(__arduino_find_board_details MODE)
532532 if (NOT _property_list)
533533 string (REPLACE ";" "\\ ;" _properties "${_properties} " ) # <------------------ split into lines; preserving semicolons
534534 string (REGEX REPLACE "[ \t\r ]*\n " ";" _property_list "${_properties} " )
535+ endif ()
535536
537+ if (NOT _use_property_cache)
536538 list (LENGTH _property_list _count)
537539 message (STATUS " ${_count} properties found" )
538540 endif ()
@@ -600,8 +602,11 @@ function(__arduino_find_libraries)
600602 endif ()
601603
602604 string (JSON _installed_libraries GET "${_json} " installed_libraries) # <-------------- parse the library information
603- string (JSON _count LENGTH "${_installed_libraries} " )
604- message (STATUS " ${_count} libraries found" )
605+
606+ if (NOT _use_library_cache)
607+ string (JSON _count LENGTH "${_installed_libraries} " )
608+ message (STATUS " ${_count} libraries found" )
609+ endif ()
605610
606611 set (__ARDUINO_INSTALLED_LIBRARIES "${_installed_libraries} " PARENT_SCOPE)
607612 set (__ARDUINO_INSTALLED_LIBRARIES_CACHE "${_arduino_cache_filepath} " PARENT_SCOPE)
You can’t perform that action at this time.
0 commit comments