abouttreesummaryrefslogcommitdiff
path: root/esp32/esp_project/CMakeLists.txt
diff options
context:
space:
mode:
authorPatrick2023-10-13 15:57:15 +0200
committerPatrick2023-10-13 15:57:15 +0200
commit9eaa420b7bf51cc81c50e7f4ca0f256498a07c86 (patch)
tree696c4397b60503be0e7a732ef24f6266cafcaa86 /esp32/esp_project/CMakeLists.txt
parent80dc4ce95cbe915a3aaa7e2e18f545916d6ec769 (diff)
downloadmatrix_esp_thesis-9eaa420b7bf51cc81c50e7f4ca0f256498a07c86.tar.gz
matrix_esp_thesis-9eaa420b7bf51cc81c50e7f4ca0f256498a07c86.zip
HTTP layer for ESP32, make static specifier in matrix.c optional by defining it as a macro
Diffstat (limited to 'esp32/esp_project/CMakeLists.txt')
-rw-r--r--esp32/esp_project/CMakeLists.txt3
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