gst-plugins-bad: Use CMake to find some deps
Hi,
This attempts to use CMake to find some of the external dependencies in gst-plugins-bad
for Visual Studio builds, where pkg-config files are typically not provided with them but CMake has built-in support for finding them or the dependencies' build system provide CMake config files for them, for the following plugins:
-
aes
,dtls
,hls
: Use CMake's built-in support to find OpenSSL (and libcrypto, if needed) with the appropriatemodules:
option. The current approach works only if theopenssl
package is specified but notlibcrypto
, and even so we get warnings that we should use themodules:
option in thedependency()
call. -
openexr
: Use CMake to locate OpenEXR's CMake config files with theIlmImf
module specified, so that OpenEXR can be properly located. OpenEXR is typically built with CMake for Visual Studio, and so ships CMake config files with the build
There could be others to do here, but this is all for now.
With blessings, thank you!