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.
1 parent ae00988 commit b01177eCopy full SHA for b01177e
Arduino-toolchain.cmake
@@ -91,6 +91,9 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)
91
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
92
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
93
94
+# Workaround for CMAKE_TRY_COMPILE_TARGET_TYPE. For later ESP32 cores this file is missing
95
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/build_opt.h" "")
96
+
97
# Do not try to link during the configure time, due to the dependency on the
98
# core, which we do not have a target yet.
99
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
0 commit comments