]> gitweb.ps.run Git - matrix_esp_thesis/blob - esp32/esp_project/components/matrix/CMakeLists.txt
fix esp_project CMakeLists.txt
[matrix_esp_thesis] / esp32 / esp_project / components / matrix / CMakeLists.txt
1 idf_component_register(SRCS
2                             "../../../../src/matrix.c"
3                             "../../../../src/matrix_http_esp32.c"
4                             "../../../../ext/mjson/src/mjson.c"
5                        INCLUDE_DIRS
6                             "../../../../ext/olm/include"
7                             "../../../../ext/olm/lib"
8                             "../../../../ext/mjson/src"
9                             "../../../../src"
10                        REQUIRES
11                             esp-tls
12                             esp_http_client
13                             esp_netif
14                             nvs_flash)
15
16 SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -fpermissive")