Skip to content

Commit be33a90

Browse files
committed
Add zstd to httplibConfig.cmake.in
1 parent c30268d commit be33a90

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/httplibConfig.cmake.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ if(@HTTPLIB_IS_USING_BROTLI@)
3535
find_dependency(Brotli COMPONENTS common encoder decoder)
3636
endif()
3737

38+
if(@HTTPLIB_IS_USING_ZSTD@)
39+
find_dependency(zstd)
40+
endif()
41+
3842
# Mildly useful for end-users
3943
# Not really recommended to be used though
4044
set_and_check(HTTPLIB_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@")
@@ -46,6 +50,7 @@ set_and_check(HTTPLIB_HEADER_PATH "@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@/httpl
4650
set(httplib_OpenSSL_FOUND @HTTPLIB_IS_USING_OPENSSL@)
4751
set(httplib_ZLIB_FOUND @HTTPLIB_IS_USING_ZLIB@)
4852
set(httplib_Brotli_FOUND @HTTPLIB_IS_USING_BROTLI@)
53+
set(httplib_zstd_FOUND @HTTPLIB_IS_USING_ZSTD@)
4954

5055
check_required_components(httplib)
5156

0 commit comments

Comments
 (0)