X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/8ceca98f04b88798794748572fce184b92144d2d..a2b4308fa5bdc55cafa73aa0d70a00528f069ab7:/esp32/esp_project/components/matrix/CMakeLists.txt diff --git a/esp32/esp_project/components/matrix/CMakeLists.txt b/esp32/esp_project/components/matrix/CMakeLists.txt index 485b3c6..bf7da7a 100644 --- a/esp32/esp_project/components/matrix/CMakeLists.txt +++ b/esp32/esp_project/components/matrix/CMakeLists.txt @@ -1,17 +1,16 @@ -idf_component_register(SRCS - "../../../../src/matrix.c" - "../../../../src/matrix_http_esp32.c" - "../../../../ext/mjson/src/mjson.c" - INCLUDE_DIRS - "../../../../ext/olm/include" - "../../../../ext/olm/lib" - "../../../../ext/mjson/src" - "../../../../src" - REQUIRES - esp-tls - esp_http_client - esp_netif - nvs_flash) - -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") +idf_component_register(SRCS + "../../../../src/matrix.c" + "../../../../src/matrix_http_esp32.c" + "../../../../ext/mjson/src/mjson.c" + INCLUDE_DIRS + "../../../../ext/olm/include" + "../../../../ext/olm/lib" + "../../../../ext/mjson/src" + "../../../../src" + REQUIRES + esp-tls + esp_http_client + esp_netif + nvs_flash) + +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")