From f3221c0405b6f99c6eff113cb4ca8c81c3ad3a84 Mon Sep 17 00:00:00 2001 From: Phoebe <20694052+PhoebeHui@users.noreply.github.com> Date: Thu, 6 Aug 2020 01:36:25 +0800 Subject: [sqlite3] Namespaced targets with unofficial:: (#12516) * [sqlite3] Namespaced targets with unofficial:: * Fix failure ports * Update the targets name * Update related docs --- ports/sqlitecpp/0001-Find-external-sqlite3.patch | 4 ++-- ports/sqlitecpp/CONTROL | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'ports/sqlitecpp') 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() diff --git a/ports/sqlitecpp/CONTROL b/ports/sqlitecpp/CONTROL index d05dcec85..372acc14b 100644 --- a/ports/sqlitecpp/CONTROL +++ b/ports/sqlitecpp/CONTROL @@ -1,5 +1,6 @@ Source: sqlitecpp Version: 3.0.0 +Port-Version: 1 Build-Depends: sqlite3 Homepage: https://github.com/SRombauts/SQLiteCpp Description: SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper. -- cgit v1.2.3