]> granicus.if.org Git - esp-idf/commitdiff
nghttp: move config.h to private_include dirs
authorMahavir Jain <mahavir@espressif.com>
Wed, 11 Sep 2019 10:42:53 +0000 (16:12 +0530)
committerbot <bot@espressif.com>
Tue, 1 Oct 2019 11:19:44 +0000 (11:19 +0000)
components/nghttp/CMakeLists.txt
components/nghttp/component.mk
components/nghttp/private_include/config.h [moved from components/nghttp/port/include/config.h with 100% similarity]

index 1c9ba17a23ffec47c094efa3312131d1fdcb8099..f97cc7731d1c740831d1fa9b215dbea2570fbc45 100644 (file)
@@ -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")
index 2a69cd5e1f4936b1ab529833b11c42f9e414460e..10d0bdefbcfd0afd3604e8e9bf0b32f1f5e77237 100644 (file)
@@ -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