nghttp: move config.h to private_include dirs
This commit is contained in:
parent
1c1108d47b
commit
3f9b0d8c2a
|
@ -24,6 +24,7 @@ set(srcs
|
||||||
"port/http_parser.c")
|
"port/http_parser.c")
|
||||||
|
|
||||||
idf_component_register(SRCS "${srcs}"
|
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")
|
target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DHAVE_CONFIG_H")
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
COMPONENT_ADD_INCLUDEDIRS := port/include nghttp2/lib/includes
|
COMPONENT_ADD_INCLUDEDIRS := port/include nghttp2/lib/includes
|
||||||
|
|
||||||
|
COMPONENT_PRIV_INCLUDEDIRS := private_include
|
||||||
|
|
||||||
COMPONENT_SRCDIRS := nghttp2/lib port
|
COMPONENT_SRCDIRS := nghttp2/lib port
|
||||||
|
|
||||||
COMPONENT_SUBMODULES := nghttp2
|
COMPONENT_SUBMODULES := nghttp2
|
||||||
|
|
Loading…
Reference in a new issue