Skip to content

Commit

Permalink
(#15543) drogon: add version 1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
toge authored Feb 2, 2023
1 parent 2644566 commit 1f85d47
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions recipes/drogon/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"1.8.3":
url: "https://github.com/drogonframework/drogon/archive/v1.8.3.tar.gz"
sha256: "db6d92a0c40ec52d5704fb4128860b9eecdc284653e8d85113b4219b96dc7129"
"1.8.2":
url: "https://github.com/drogonframework/drogon/archive/v1.8.2.tar.gz"
sha256: "1182cab00c33e400eac617c6dbf44fa2f358e1844990b6b8c5c87783024f9971"
Expand All @@ -9,6 +12,18 @@ sources:
url: "https://github.com/drogonframework/drogon/archive/refs/tags/v1.7.5.tar.gz"
sha256: "e2af7c55dcabafef16f26f5b3242692f5a2b54c19b7b626840bf9132d24766f6"
patches:
"1.8.3":
- patch_file: "patches/1.8.0-0001-disable-unused-data.patch"
patch_description: "Consume Trantor package from Conan instead of using the\
\ subproject"
patch_type: "conan"
- patch_file: "patches/1.8.0-0002-find-package-jsoncpp.patch"
patch_description: "Fix jsoncpp cmake target name"
patch_type: "conan"
- patch_file: "patches/1.8.3-0003-find-package-sqlite.patch"
patch_description: "Fix sqlite cmake target name"
patch_type: "conan"

"1.8.2":
- patch_file: "patches/1.8.0-0001-disable-unused-data.patch"
patch_description: "Consume Trantor package from Conan instead of using the\
Expand Down
13 changes: 13 additions & 0 deletions recipes/drogon/all/patches/1.8.3-0003-find-package-sqlite.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 680dc46..28cbcf4 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -405,7 +405,7 @@ if (BUILD_SQLITE)
find_package(SQLite3 QUIET)
find_package(unofficial-sqlite3 QUIET)
if (SQLite3_FOUND)
- target_link_libraries(${PROJECT_NAME} PRIVATE SQLite3_lib)
+ target_link_libraries(${PROJECT_NAME} PRIVATE SQLite::SQLite3)
set(DROGON_FOUND_SQLite3 TRUE)
elseif (unofficial-sqlite3_FOUND)
target_link_libraries(${PROJECT_NAME} PRIVATE unofficial::sqlite3::sqlite3)
2 changes: 2 additions & 0 deletions recipes/drogon/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"1.8.3":
folder: "all"
"1.8.2":
folder: "all"
"1.8.0":
Expand Down

0 comments on commit 1f85d47

Please sign in to comment.