aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlitecpp
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-08-24 10:57:38 -0700
committerGitHub <noreply@github.com>2020-08-24 10:57:38 -0700
commit07202400517148178343139d9f9daf3ae1ef8d31 (patch)
treec7faffce16bc5b8f1dbd8ed5554aacdd22c456ef /ports/sqlitecpp
parent723a5c2199fc8d452ce3b7c59778fc570633bcbf (diff)
downloadvcpkg-07202400517148178343139d9f9daf3ae1ef8d31.tar.gz
vcpkg-07202400517148178343139d9f9daf3ae1ef8d31.zip
[sqlitecpp] Fix dependency port (#13108)
Diffstat (limited to 'ports/sqlitecpp')
-rw-r--r--ports/sqlitecpp/CONTROL2
-rw-r--r--ports/sqlitecpp/fix_dependency.patch11
-rw-r--r--ports/sqlitecpp/portfile.cmake1
3 files changed, 13 insertions, 1 deletions
diff --git a/ports/sqlitecpp/CONTROL b/ports/sqlitecpp/CONTROL
index 372acc14b..f617bf93e 100644
--- a/ports/sqlitecpp/CONTROL
+++ b/ports/sqlitecpp/CONTROL
@@ -1,6 +1,6 @@
Source: sqlitecpp
Version: 3.0.0
-Port-Version: 1
+Port-Version: 2
Build-Depends: sqlite3
Homepage: https://github.com/SRombauts/SQLiteCpp
Description: SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
diff --git a/ports/sqlitecpp/fix_dependency.patch b/ports/sqlitecpp/fix_dependency.patch
new file mode 100644
index 000000000..435061c02
--- /dev/null
+++ b/ports/sqlitecpp/fix_dependency.patch
@@ -0,0 +1,11 @@
+diff --git a/cmake/SQLiteCppConfig.cmake.in b/cmake/SQLiteCppConfig.cmake.in
+index 82c32db..a485ad8 100644
+--- a/cmake/SQLiteCppConfig.cmake.in
++++ b/cmake/SQLiteCppConfig.cmake.in
+@@ -1,5 +1,5 @@
+ include(CMakeFindDependencyMacro)
+-find_dependency(SQLite3)
++find_dependency(unofficial-sqlite3)
+
+ @PACKAGE_INIT@
+
diff --git a/ports/sqlitecpp/portfile.cmake b/ports/sqlitecpp/portfile.cmake
index 9f2febab0..27d2e3204 100644
--- a/ports/sqlitecpp/portfile.cmake
+++ b/ports/sqlitecpp/portfile.cmake
@@ -7,6 +7,7 @@ vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH
SHA512 d48b5915a2674f7f6da2737fa365e2202373e95cd20e819281b765a597e2fa8b8ae33f6553d65b6a8a93741e31633de3c75caf84fffa4313154c43ce634b1323
PATCHES
0001-Find-external-sqlite3.patch
+ fix_dependency.patch
)
vcpkg_configure_cmake(