aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlpp11/fix-dependency.patch
diff options
context:
space:
mode:
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