Closed hacki11 closed 4 years ago
This error is due to the toolchain not being used by CMake. Please check the path that you pass to CMake (~/git/Arduino-CMake-Toolchain/Arduino-toolchain.cmake) and whether the content of the file is not empty.
EDIT: I see that you are using ARDUINO_TOOLCHAIN_FILE=<path>
. Please use CMAKE_TOOLCHAIN_FILE=<path>
.
Ah!!! thanks!
I'm trying to compile the example project hello-world, but i'm stuck with the issue it can not find
target_link_arduino_libraries
.do you have any hints to solve this issue?