aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlitecpp/0001-Find-external-sqlite3.patch
diff options
context:
space:
mode:
authorVictor Romero <romerosanchezv@gmail.com>2019-06-12 11:37:19 -0700
committerVictor Romero <romerosanchezv@gmail.com>2019-06-12 11:37:19 -0700
commit92444393148ab0bc89de6ce1cae945cee428a091 (patch)
treea443d63129d93dd729438929bce402b80f1c50c1 /ports/sqlitecpp/0001-Find-external-sqlite3.patch
parent874eadc574b94a05607a8408958401a524c10447 (diff)
parent59a8a9c6248ed230b19028a44484ae5f06db697d (diff)
downloadvcpkg-92444393148ab0bc89de6ce1cae945cee428a091.tar.gz
vcpkg-92444393148ab0bc89de6ce1cae945cee428a091.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into add_libraqm
Diffstat (limited to 'ports/sqlitecpp/0001-Find-external-sqlite3.patch')
-rw-r--r--ports/sqlitecpp/0001-Find-external-sqlite3.patch40
1 files changed, 14 insertions, 26 deletions
diff --git a/ports/sqlitecpp/0001-Find-external-sqlite3.patch b/ports/sqlitecpp/0001-Find-external-sqlite3.patch
index f9473ff53..a59df97ae 100644
--- a/ports/sqlitecpp/0001-Find-external-sqlite3.patch
+++ b/ports/sqlitecpp/0001-Find-external-sqlite3.patch
@@ -1,26 +1,14 @@
-From 495f0f8bf2caf158ffed78e479d68359f51289a2 Mon Sep 17 00:00:00 2001
-From: Stanislav Ershov <digital.stream.of.mind@gmail.com>
-Date: Sat, 6 Jan 2018 11:26:55 +0300
-Subject: [PATCH] Find external sqlite3
-
----
- CMakeLists.txt | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 4a3e492..f7e22a5 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -193,7 +193,8 @@ install(EXPORT ${PROJECT_NAME}Config DESTINATION lib/cmake/${PROJECT_NAME})
- ## Build provided copy of SQLite3 C library ##
-
- # TODO NOCOMMIT
--#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()
---
-2.15.0.windows.1
-
+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()