From: Mahavir Jain Date: Wed, 11 Sep 2019 10:42:53 +0000 (+0530) Subject: nghttp: move config.h to private_include dirs X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f9b0d8c2a923479942efaedcc189b63cdd6c2e5;p=esp-idf nghttp: move config.h to private_include dirs --- diff --git a/components/nghttp/CMakeLists.txt b/components/nghttp/CMakeLists.txt index 1c9ba17a23..f97cc7731d 100644 --- a/components/nghttp/CMakeLists.txt +++ b/components/nghttp/CMakeLists.txt @@ -24,6 +24,7 @@ set(srcs "port/http_parser.c") idf_component_register(SRCS "${srcs}" - INCLUDE_DIRS port/include nghttp2/lib/includes) + INCLUDE_DIRS port/include nghttp2/lib/includes + PRIV_INCLUDE_DIRS private_include) target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DHAVE_CONFIG_H") diff --git a/components/nghttp/component.mk b/components/nghttp/component.mk index 2a69cd5e1f..10d0bdefbc 100644 --- a/components/nghttp/component.mk +++ b/components/nghttp/component.mk @@ -4,6 +4,8 @@ COMPONENT_ADD_INCLUDEDIRS := port/include nghttp2/lib/includes +COMPONENT_PRIV_INCLUDEDIRS := private_include + COMPONENT_SRCDIRS := nghttp2/lib port COMPONENT_SUBMODULES := nghttp2 diff --git a/components/nghttp/port/include/config.h b/components/nghttp/private_include/config.h similarity index 100% rename from components/nghttp/port/include/config.h rename to components/nghttp/private_include/config.h