Skip to content

Commit

Permalink
follow by add SetupBrotli.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
kpavlov00 committed Jul 16, 2024
1 parent 62b51c7 commit 980a0e3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions cmake/SetupYdbCppSDK.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
option(USERVER_DOWNLOAD_PACKAGE_YDBCPPSDK "Download and setup ydb-cpp-sdk" ${USERVER_DOWNLOAD_PACKAGES})

include(DownloadUsingCPM)
include(SetupBrotli)

CPMAddPackage(
NAME base64
Expand All @@ -10,15 +11,6 @@ CPMAddPackage(
write_package_stub(base64)
add_library(aklomp::base64 ALIAS base64)

CPMAddPackage(
NAME Brotli
VERSION 1.1.0
GITHUB_REPOSITORY google/brotli
)
write_package_stub(Brotli)
add_library(Brotli::dec ALIAS brotlidec)
add_library(Brotli::enc ALIAS brotlienc)

CPMAddPackage(
NAME jwt-cpp
VERSION 0.7.0
Expand All @@ -43,6 +35,7 @@ CPMAddPackage(
GIT_TAG main
GITHUB_REPOSITORY ydb-platform/ydb-cpp-sdk
OPTIONS
"Brotli_VERSION ${Brotli_VERSION}"
"RAPIDJSON_INCLUDE_DIRS ${RAPIDJSON_INCLUDE_DIRS}"
"YDB_SDK_GOOGLE_COMMON_PROTOS_TARGET ${YDB_SDK_GOOGLE_COMMON_PROTOS_TARGET}"
)
Expand Down

0 comments on commit 980a0e3

Please sign in to comment.