We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
architectures
1 parent e745a9b commit 8b415c8Copy full SHA for 8b415c8
Arduino/System/BoardBuildTargets.cmake
@@ -861,8 +861,8 @@ function(_library_search_process lib search_paths_var search_suffixes_var return
861
# message("Folder match ${lib}:${dir}:${folder_name_priority}")
862
863
# Check for architecture match
864
- file(STRINGS "${dir}/library.properties" arch_str REGEX "architectures=.*")
865
- string(REGEX MATCH "architectures=(.*)" arch_list "${arch_str}")
+ file(STRINGS "${dir}/library.properties" arch_str REGEX "^architectures=.*")
+ string(REGEX MATCH "^architectures=(.*)" arch_list "${arch_str}")
866
string(REPLACE "," ";" arch_list "${CMAKE_MATCH_1}")
867
string(TOUPPER "${ARDUINO_BOARD_BUILD_ARCH}" board_arch)
868
0 commit comments