mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 18:19:07 +08:00
8af28e0dab
* [drogon] Added database access features * Replaced CONTROL with vcpkg.json manifest file * Patched finding brotli libraries for static triplets (brotlicommon-static.lib and co.) * Added features for database access, disabled by default. * [drogon] Fixed vcpkg.json version * update vcpkg.json format * update version * Added new feature redis * update vcpkg.json format * update version * delete redis dependence * update version * fix request feature * update version Co-authored-by: Jonliu1993 <13720414433@163.com>
18 lines
744 B
Diff
18 lines
744 B
Diff
diff --git a/cmake_modules/FindBrotli.cmake b/cmake_modules/FindBrotli.cmake
|
|
index da5b6d2..6b631ab 100755
|
|
--- a/cmake_modules/FindBrotli.cmake
|
|
+++ b/cmake_modules/FindBrotli.cmake
|
|
@@ -23,9 +23,9 @@ include(FindPackageHandleStandardArgs)
|
|
|
|
find_path(BROTLI_INCLUDE_DIR "brotli/decode.h")
|
|
|
|
-find_library(BROTLICOMMON_LIBRARY NAMES brotlicommon)
|
|
-find_library(BROTLIDEC_LIBRARY NAMES brotlidec)
|
|
-find_library(BROTLIENC_LIBRARY NAMES brotlienc)
|
|
+find_library(BROTLICOMMON_LIBRARY NAMES brotlicommon brotlicommon-static)
|
|
+find_library(BROTLIDEC_LIBRARY NAMES brotlidec brotlidec-static)
|
|
+find_library(BROTLIENC_LIBRARY NAMES brotlienc brotlienc-static)
|
|
|
|
find_package_handle_standard_args(Brotli
|
|
REQUIRED_VARS
|