Skip to content

Commit

Permalink
[sqlitecpp] Fix dependency port (microsoft#13108)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoebeHui authored Aug 24, 2020
1 parent 723a5c2 commit 0720240
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ports/sqlitecpp/CONTROL
Original file line number Diff line number Diff line change
@@ -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.
11 changes: 11 additions & 0 deletions ports/sqlitecpp/fix_dependency.patch
Original file line number Diff line number Diff line change
@@ -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@

1 change: 1 addition & 0 deletions ports/sqlitecpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0720240

Please sign in to comment.