aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlpp11/fix-dependency.patch
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-09-28 08:33:19 +0800
committerGitHub <noreply@github.com>2020-09-27 17:33:19 -0700
commitbfc0f488335725763b5e966641cbec738aa7a485 (patch)
treeccb508769ecbd3611bcf1034e1befae8a3702290 /ports/sqlpp11/fix-dependency.patch
parentae82a554f80e49f29d528f6ec395211ea0b7939b (diff)
downloadvcpkg-bfc0f488335725763b5e966641cbec738aa7a485.tar.gz
vcpkg-bfc0f488335725763b5e966641cbec738aa7a485.zip
[libyaml/sqlpp11/xeus/uvatlas/xxhash] Update to the latest version (#13657)
* [many ports] Update to the latest version * [xeus] Fix static build * [usd] Revert change * [xeus] Fix build error * [sqlpp11] Update latest version * [libyaml] Fix build error on Linux * [sqlpp11] Fix build error
Diffstat (limited to 'ports/sqlpp11/fix-dependency.patch')
-rw-r--r--ports/sqlpp11/fix-dependency.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/ports/sqlpp11/fix-dependency.patch b/ports/sqlpp11/fix-dependency.patch
new file mode 100644
index 000000000..d43e10bf3
--- /dev/null
+++ b/ports/sqlpp11/fix-dependency.patch
@@ -0,0 +1,20 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b8de9fa..82dd632 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -32,14 +32,11 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
+
+ include(CTest)
+
+-
+-### Dependencies
+-add_subdirectory(dependencies)
+-
+ ### Main targets
+ add_library(sqlpp11 INTERFACE)
+ add_library(sqlpp11::sqlpp11 ALIAS sqlpp11)
+
++find_package(date CONFIG REQUIRED)
+ target_link_libraries(sqlpp11 INTERFACE date::date)
+
+ target_include_directories(sqlpp11 INTERFACE