diff options
| author | Lily <47812810+LilyWangL@users.noreply.github.com> | 2020-04-24 12:17:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-23 21:17:26 -0700 |
| commit | c3fc360947e471e422f11ba6342b85086df98289 (patch) | |
| tree | 0c041f35cb6399d7df2a7727c3f937efbfc4d336 /ports/sqlitecpp/0001-Find-external-sqlite3.patch | |
| parent | 49822446b5817daeef24e792b77a43a7e4fd0e32 (diff) | |
| download | vcpkg-c3fc360947e471e422f11ba6342b85086df98289.tar.gz vcpkg-c3fc360947e471e422f11ba6342b85086df98289.zip | |
[glm, sqlitecpp] update to new version (#10977)
* [glm] update to 0.9.9.8
* [sqlitecpp] Update to version 3.0.0
Diffstat (limited to 'ports/sqlitecpp/0001-Find-external-sqlite3.patch')
| -rw-r--r-- | ports/sqlitecpp/0001-Find-external-sqlite3.patch | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/ports/sqlitecpp/0001-Find-external-sqlite3.patch b/ports/sqlitecpp/0001-Find-external-sqlite3.patch index a59df97ae..b2371490c 100644 --- a/ports/sqlitecpp/0001-Find-external-sqlite3.patch +++ b/ports/sqlitecpp/0001-Find-external-sqlite3.patch @@ -1,14 +1,16 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 00e058c..489b884 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -199,7 +199,8 @@ install(EXPORT ${PROJECT_NAME}Config DESTINATION lib/cmake/${PROJECT_NAME})
- ## Build provided copy of SQLite3 C library ##
-
- # TODO
--#find_package(sqlite3)
-+find_package(sqlite3 CONFIG)
-+target_link_libraries(SQLiteCpp PRIVATE sqlite3)
- #if(sqlite3_VERSION VERSION_LESS "3.19")
- # set_target_properties(SQLiteCpp PROPERTIES COMPILE_FLAGS "-DSQLITECPP_HAS_MEM_STRUCT")
- #endif()
+diff --git a/CMakeLists.txt b/CMakeLists.txt +index 9363c0d..0f47f0f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -227,9 +227,9 @@ if (SQLITECPP_INTERNAL_SQLITE) + add_subdirectory(sqlite3) + target_link_libraries(SQLiteCpp PUBLIC sqlite3) + else (SQLITECPP_INTERNAL_SQLITE) +- find_package (SQLite3 REQUIRED) ++ find_package(sqlite3 CONFIG) + message(STATUS "Link to sqlite3 system library") +- target_link_libraries(SQLiteCpp PUBLIC SQLite::SQLite3) ++ target_link_libraries(SQLiteCpp PRIVATE sqlite3) + if(SQLite3_VERSION VERSION_LESS "3.19") + set_target_properties(SQLiteCpp PROPERTIES COMPILE_FLAGS "-DSQLITECPP_HAS_MEM_STRUCT") + endif() |
