aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/llhttp/fix-usage.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/llhttp/fix-usage.patch')
-rw-r--r--vcpkg/ports/llhttp/fix-usage.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/llhttp/fix-usage.patch b/vcpkg/ports/llhttp/fix-usage.patch
new file mode 100644
index 0000000..3118ea1
--- /dev/null
+++ b/vcpkg/ports/llhttp/fix-usage.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bdef288..72555c6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -77,6 +77,10 @@ function(config_library target)
+ NAMESPACE llhttp::
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/llhttp
+ )
++ target_include_directories(${target}
++ PRIVATE include ${CMAKE_CURRENT_BINARY_DIR}
++ INTERFACE $<INSTALL_INTERFACE:include>
++ )
+ endfunction(config_library target)
+
+ if(BUILD_SHARED_LIBS)