aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/cld3/unofficial-export.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cld3/unofficial-export.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/cld3/unofficial-export.patch')
-rw-r--r--vcpkg/ports/cld3/unofficial-export.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/cld3/unofficial-export.patch b/vcpkg/ports/cld3/unofficial-export.patch
new file mode 100644
index 0000000..99b900d
--- /dev/null
+++ b/vcpkg/ports/cld3/unofficial-export.patch
@@ -0,0 +1,24 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 37e9944..fb27632 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -57,6 +57,19 @@ add_library(${PROJECT_NAME}
+
+ target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)
+ target_link_libraries(${PROJECT_NAME} PUBLIC protobuf::libprotobuf-lite)
++target_include_directories(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
++
++install(TARGETS ${PROJECT_NAME}
++ EXPORT unofficial-cld3-targets
++ RUNTIME DESTINATION bin
++ LIBRARY DESTINATION lib
++ ARCHIVE DESTINATION lib
++)
++
++install(EXPORT unofficial-cld3-targets
++ NAMESPACE unofficial::cld3::
++ DESTINATION share/unofficial-cld3
++)
+
+ if(BUILD_TESTS)
+ # unit tests exec: