mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 02:29:07 +08:00
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
|