diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-05-24 11:59:52 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-05-24 14:19:51 +0000 |
commit | e4f0680c4a722b02fb31fc1693e09059e94326f4 (patch) | |
tree | 40eb6a48f51c7ef238c9ee4dfd7f7907337cc106 /cmake/FindZSTD.cmake | |
parent | 13e9d88e5656847719d9eab0fb6c305fc2d089c2 (diff) |
Fix static zstd linkage
Upstream's cmake build system installs libzstd_static for static builds,
so look for that as well. Now we can also recommend installing it via
vcpkg.
Change-Id: I0ba4c45ecd90bf7b1c9f1e5f84a440caa976a23c
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'cmake/FindZSTD.cmake')
-rw-r--r-- | cmake/FindZSTD.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindZSTD.cmake b/cmake/FindZSTD.cmake index 4f4590d357..90d667dc29 100644 --- a/cmake/FindZSTD.cmake +++ b/cmake/FindZSTD.cmake @@ -27,7 +27,7 @@ find_path(ZSTD_INCLUDE_DIRS PATH_SUFFIXES zstd) find_library(ZSTD_LIBRARIES - NAMES zstd + NAMES zstd zstd_static HINTS ${PC_ZSTD_LIBDIR} ) |