diff --git a/components/esp_local_ctrl/CMakeLists.txt b/components/esp_local_ctrl/CMakeLists.txt index 2cbda98223..f081b9c765 100644 --- a/components/esp_local_ctrl/CMakeLists.txt +++ b/components/esp_local_ctrl/CMakeLists.txt @@ -1,5 +1,5 @@ set(include_dirs include) -set(priv_include_dirs proto-c src ../protocomm/proto-c) +set(priv_include_dirs proto-c src) set(srcs "src/esp_local_ctrl.c" "src/esp_local_ctrl_handler.c" "proto-c/esp_local_ctrl.pb-c.c") diff --git a/components/protocomm/CMakeLists.txt b/components/protocomm/CMakeLists.txt index 4c35f55eb5..a4df9307a0 100644 --- a/components/protocomm/CMakeLists.txt +++ b/components/protocomm/CMakeLists.txt @@ -1,7 +1,9 @@ set(include_dirs include/common include/security - include/transports) -set(priv_include_dirs proto-c src/common src/crypto/srp6a/include) + include/transports + proto-c) +set(priv_include_dirs src/common + src/crypto/srp6a/include) set(srcs "src/common/protocomm.c" "proto-c/constants.pb-c.c" diff --git a/components/protocomm/test/CMakeLists.txt b/components/protocomm/test/CMakeLists.txt index 1e618a976e..5c332260e5 100644 --- a/components/protocomm/test/CMakeLists.txt +++ b/components/protocomm/test/CMakeLists.txt @@ -1,5 +1,4 @@ idf_component_register(SRC_DIRS "." PRIV_INCLUDE_DIRS "." - PRIV_INCLUDE_DIRS "../proto-c/" PRIV_REQUIRES cmock mbedtls protocomm protobuf-c test_utils) target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format") diff --git a/components/wifi_provisioning/CMakeLists.txt b/components/wifi_provisioning/CMakeLists.txt index 4826f72004..9460d60a4a 100644 --- a/components/wifi_provisioning/CMakeLists.txt +++ b/components/wifi_provisioning/CMakeLists.txt @@ -20,6 +20,6 @@ endif() idf_component_register(SRCS "${srcs}" INCLUDE_DIRS include - PRIV_INCLUDE_DIRS src proto-c ../protocomm/proto-c + PRIV_INCLUDE_DIRS src proto-c REQUIRES lwip protocomm PRIV_REQUIRES protobuf-c bt json esp_timer esp_wifi)