When using the new conan.tools.cmake.CMakeToolchain, CMAKE_MODULE_PATH and CMAKE_PREFIX_PATH are set af follows: set(CMAKE_MODULE_PATH ${CMAKE_BINARY_DIR} ${CMAKE_MODULE_PATH}) set(CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR} ${CMAKE_PREFIX_PATH}) The previous cmake generator extended ...
setting CMAKE_FIND_ROOT_PATH_MODE_* to BOTH gives me a lot of heartburn. I get the argument that BOTH will still check the places that ONLY would have cheked first, so if ONLY would have succeeded, BOTH gives the same answer. But CMakeToolchain goes with CmakeDeps, which writes pack...
As seen here and here, vcpkg.cmake modifies CMAKE_PREFIX_PATH. However, according to the documentation, CMAKE_PREFIX_PATH belongs to the project and toolchains should instead set or modify CMAKE_SYSTEM_PREFIX_PATH.
cmake completes, but then during make I get this error: ld: cannot open linker script file /Volumes/External/mykle/Documents/tmp/Arduino-CMake-Toolchain/Examples_build/memmap_default.ld: No such file or directory However the build process does create /Volumes/External/mykle/Documents/tmp/Arduin...