diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-11-12 10:22:36 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-12 10:22:36 -0800 |
| commit | 1009863e79ccac44eff5207ce903f0a6246c8ca9 (patch) | |
| tree | b7ed889fd055737bf97b4452026952dae6376583 | |
| parent | 2dc708898ad89c2a74461fa50cb907bcd5b92305 (diff) | |
| download | vcpkg-1009863e79ccac44eff5207ce903f0a6246c8ca9.tar.gz vcpkg-1009863e79ccac44eff5207ce903f0a6246c8ca9.zip | |
[libmariadb] Also export target mariadbclient (#14533)
| -rw-r--r-- | ports/libmariadb/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libmariadb/export-cmake-targets.patch | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ports/libmariadb/CONTROL b/ports/libmariadb/CONTROL index 83669753e..09d376432 100644 --- a/ports/libmariadb/CONTROL +++ b/ports/libmariadb/CONTROL @@ -1,6 +1,6 @@ Source: libmariadb
Version: 3.1.10
-Port-Version: 2
+Port-Version: 3
Homepage: https://github.com/MariaDB/mariadb-connector-c
Description: MariaDB Connector/C is used to connect C/C++ applications to MariaDB and MySQL databases
Default-Features: zlib, openssl
diff --git a/ports/libmariadb/export-cmake-targets.patch b/ports/libmariadb/export-cmake-targets.patch index a9191ce8e..0f9d07c23 100644 --- a/ports/libmariadb/export-cmake-targets.patch +++ b/ports/libmariadb/export-cmake-targets.patch @@ -1,8 +1,12 @@ diff --git a/libmariadb/CMakeLists.txt b/libmariadb/CMakeLists.txt -index 083a863..7bc32b4 100644 +index 083a863..d911fa7 100644 --- a/libmariadb/CMakeLists.txt +++ b/libmariadb/CMakeLists.txt -@@ -460,10 +460,21 @@ INSTALL(TARGETS mariadbclient +@@ -457,13 +457,25 @@ ENDIF() + + INSTALL(TARGETS mariadbclient + COMPONENT Development ++ EXPORT unofficial-libmariadb-targets LIBRARY DESTINATION lib) INSTALL(TARGETS libmariadb COMPONENT SharedLibraries |
