aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlitecpp/0001-Find-external-sqlite3.patch
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-08-06 01:36:25 +0800
committerGitHub <noreply@github.com>2020-08-05 10:36:25 -0700
commitf3221c0405b6f99c6eff113cb4ca8c81c3ad3a84 (patch)
treea3f72ea4c7d994cf097077be5daa3b8be07c3b59 /ports/sqlitecpp/0001-Find-external-sqlite3.patch
parent6a83b5365e8fc48c41564d319f915cbff603c99e (diff)
downloadvcpkg-f3221c0405b6f99c6eff113cb4ca8c81c3ad3a84.tar.gz
vcpkg-f3221c0405b6f99c6eff113cb4ca8c81c3ad3a84.zip
[sqlite3] Namespaced targets with unofficial:: (#12516)
* [sqlite3] Namespaced targets with unofficial:: * Fix failure ports * Update the targets name * Update related docs
Diffstat (limited to 'ports/sqlitecpp/0001-Find-external-sqlite3.patch')
-rw-r--r--ports/sqlitecpp/0001-Find-external-sqlite3.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/sqlitecpp/0001-Find-external-sqlite3.patch b/ports/sqlitecpp/0001-Find-external-sqlite3.patch
index b2371490c..5914dc17d 100644
--- a/ports/sqlitecpp/0001-Find-external-sqlite3.patch
+++ b/ports/sqlitecpp/0001-Find-external-sqlite3.patch
@@ -7,10 +7,10 @@ index 9363c0d..0f47f0f 100644
target_link_libraries(SQLiteCpp PUBLIC sqlite3)
else (SQLITECPP_INTERNAL_SQLITE)
- find_package (SQLite3 REQUIRED)
-+ find_package(sqlite3 CONFIG)
++ find_package(unofficial-sqlite3 CONFIG)
message(STATUS "Link to sqlite3 system library")
- target_link_libraries(SQLiteCpp PUBLIC SQLite::SQLite3)
-+ target_link_libraries(SQLiteCpp PRIVATE sqlite3)
++ target_link_libraries(SQLiteCpp PRIVATE unofficial::sqlite3::sqlite3)
if(SQLite3_VERSION VERSION_LESS "3.19")
set_target_properties(SQLiteCpp PROPERTIES COMPILE_FLAGS "-DSQLITECPP_HAS_MEM_STRUCT")
endif()