Skip to content

Commit 0e4de18

Browse files
committed
Add compile definitions from Makefile.projbuild to cmake
1 parent 110711d commit 0e4de18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,3 +215,5 @@ set_source_files_properties(libraries/AzureIoT/src/az_iot/iothub_client/src/ioth
215215
PROPERTIES COMPILE_FLAGS
216216
-Wno-maybe-uninitialized
217217
)
218+
219+
add_compile_definitions(ARDUINO_ARCH_ESP32=1 ESP32=1 ARDUINO=10800)

0 commit comments

Comments
 (0)