@@ -12,27 +12,27 @@ set(HTTPLIB_VERSION @PROJECT_VERSION@)
12
12
include (CMakeFindDependencyMacro )
13
13
14
14
# We add find_dependency calls here to not make the end-user have to call them.
15
- find_dependency (Threads REQUIRED )
15
+ find_dependency (Threads )
16
16
if (@HTTPLIB_IS_USING_OPENSSL@ )
17
17
# OpenSSL COMPONENTS were added in Cmake v3.11
18
18
if (CMAKE_VERSION VERSION_LESS "3.11" )
19
- find_dependency (OpenSSL @_HTTPLIB_OPENSSL_MIN_VER@ REQUIRED )
19
+ find_dependency (OpenSSL @_HTTPLIB_OPENSSL_MIN_VER@ )
20
20
else ()
21
21
# Once the COMPONENTS were added, they were made optional when not specified.
22
22
# Since we use both, we need to search for both.
23
- find_dependency (OpenSSL @_HTTPLIB_OPENSSL_MIN_VER@ COMPONENTS Crypto SSL REQUIRED )
23
+ find_dependency (OpenSSL @_HTTPLIB_OPENSSL_MIN_VER@ COMPONENTS Crypto SSL )
24
24
endif ()
25
25
endif ()
26
26
if (@HTTPLIB_IS_USING_ZLIB@ )
27
- find_dependency (ZLIB REQUIRED )
27
+ find_dependency (ZLIB )
28
28
endif ()
29
29
30
30
if (@HTTPLIB_IS_USING_BROTLI@ )
31
31
# Needed so we can use our own FindBrotli.cmake in this file.
32
32
# Note that the FindBrotli.cmake file is installed in the same dir as this file.
33
33
list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR} " )
34
34
set (BROTLI_USE_STATIC_LIBS @BROTLI_USE_STATIC_LIBS@ )
35
- find_dependency (Brotli COMPONENTS common encoder decoder REQUIRED )
35
+ find_dependency (Brotli COMPONENTS common encoder decoder )
36
36
endif ()
37
37
38
38
# Mildly useful for end-users
0 commit comments