shithub: opusfile

Download patch

ref: 81abcb7d7a4f48169556f9dc74c71a78ecad0c70
parent: 8baaf9f2f51dbfa3511358200286c52f14e00506
author: Hendrik <[email protected]>
date: Sun Jun 6 06:38:20 EDT 2021

Add find_dependency(OpenSSL) to config script

Signed-off-by: Ralph Giles <[email protected]>
Signed-off-by: evpobr <[email protected]>

--- a/cmake/opusfileConfig.cmake.in
+++ b/cmake/opusfileConfig.cmake.in
@@ -41,6 +41,11 @@
 set(cmake_fd_required_arg)
 set(cmake_fd_quiet_arg)
 
+if (NOT @OP_DISABLE_HTTP@)
+  include(CMakeFindDependencyMacro)
+  find_dependency(OpenSSL)
+endif()
+
 # Including targets of opusfile
 include("${CMAKE_CURRENT_LIST_DIR}/opusfileTargets.cmake")