diff options
Diffstat (limited to 'esp32/esp_project/CMakeLists.txt')
| -rw-r--r-- | esp32/esp_project/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/esp32/esp_project/CMakeLists.txt b/esp32/esp_project/CMakeLists.txt index 1d08676..897cd8e 100644 --- a/esp32/esp_project/CMakeLists.txt +++ b/esp32/esp_project/CMakeLists.txt @@ -4,3 +4,6 @@ cmake_minimum_required(VERSION 3.16) include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(esp_project)
+
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
+SET(CMAKE_CXX_COMPILER "C:/Espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe")
\ No newline at end of file |
