2023-08-24 12:55:34 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-09-26 15:04:07 +08:00
|
|
|
index bdef288..72555c6 100644
|
2023-08-24 12:55:34 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-09-26 15:04:07 +08:00
|
|
|
@@ -77,6 +77,10 @@ function(config_library target)
|
|
|
|
NAMESPACE llhttp::
|
|
|
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/llhttp
|
|
|
|
)
|
2023-08-24 12:55:34 +08:00
|
|
|
+ target_include_directories(${target}
|
|
|
|
+ PRIVATE include ${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
+ INTERFACE $<INSTALL_INTERFACE:include>
|
2023-09-26 15:04:07 +08:00
|
|
|
+ )
|
2023-08-24 12:55:34 +08:00
|
|
|
endfunction(config_library target)
|
|
|
|
|
|
|
|
if(BUILD_SHARED_LIBS)
|