aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/soci/usage-requirements.diff
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/soci/usage-requirements.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/soci/usage-requirements.diff')
-rw-r--r--vcpkg/ports/soci/usage-requirements.diff33
1 files changed, 33 insertions, 0 deletions
diff --git a/vcpkg/ports/soci/usage-requirements.diff b/vcpkg/ports/soci/usage-requirements.diff
new file mode 100644
index 0000000..9ecd405
--- /dev/null
+++ b/vcpkg/ports/soci/usage-requirements.diff
@@ -0,0 +1,33 @@
+diff --git a/cmake/SociBackend.cmake b/cmake/SociBackend.cmake
+index 5d4ef0d..279cb75 100644
+--- a/cmake/SociBackend.cmake
++++ b/cmake/SociBackend.cmake
+@@ -159,8 +159,13 @@ macro(soci_backend NAME)
+ ${THIS_BACKEND_HEADERS})
+
+ target_link_libraries(${THIS_BACKEND_TARGET}
++ PUBLIC
+ ${SOCI_CORE_TARGET}
+ ${THIS_BACKEND_DEPENDS_LIBRARIES})
++ target_include_directories(${THIS_BACKEND_TARGET}
++ PUBLIC
++ ${THIS_BACKEND_DEPENDS_INCLUDE_DIRS}
++ )
+
+ if(WIN32)
+ set_target_properties(${THIS_BACKEND_TARGET}
+@@ -197,8 +202,14 @@ macro(soci_backend NAME)
+
+ # Still need to link the libraries for tests to work
+ target_link_libraries (${THIS_BACKEND_TARGET_STATIC}
++ PUBLIC
++ ${SOCI_CORE_TARGET}_static
+ ${THIS_BACKEND_DEPENDS_LIBRARIES}
+ )
++ target_include_directories(${THIS_BACKEND_TARGET_STATIC}
++ PUBLIC
++ ${THIS_BACKEND_DEPENDS_INCLUDE_DIRS}
++ )
+
+ set_target_properties(${THIS_BACKEND_TARGET_STATIC}
+ PROPERTIES