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

Commit d581c33

Browse files
committed
Fixed bug where wrong variable has been used to check if library was found.
1 parent 5c7f5e8 commit d581c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/Platform/Libraries/LibrariesFinder.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function(find_arduino_library _target_name _library_name _board_id)
2626
NO_DEFAULT_PATH
2727
NO_CMAKE_FIND_ROOT_PATH)
2828

29-
if (${library_properties_file} MATCHES "NOTFOUND")
29+
if ("${library_path}" MATCHES "NOTFOUND")
3030
message(SEND_ERROR "Couldn't find library named ${_library_name}")
3131

3232
else () # Library is found

0 commit comments

Comments
 (0)