libinstpatch and sndfile are using different library filenames on Windows. Previously, the CMake scripts were only looking for their Unix names resulting in the libraries not being found. This PR fixes it, and therefore implicitly restores DLS support for the precompiled Windows binaries.
In addition, we're no longer relying on sndfile's pkgconfig file to report correct private libs to figure out whether it has OGG / Vorbis support. This change restores SF3 support for precompiled Windows binaries.
This latter change revealed two more problems: 1) parsing of the OPUS_VERSION was broken and could led to an index-out-of-range error, and 2) the logic in Findmpg123 was missing the IMPORTED keyword.
libinstpatch and sndfile are using different library filenames on Windows. Previously, the CMake scripts were only looking for their Unix names resulting in the libraries not being found. This PR fixes it, and therefore implicitly restores DLS support for the precompiled Windows binaries.
In addition, we're no longer relying on sndfile's pkgconfig file to report correct private libs to figure out whether it has OGG / Vorbis support. This change restores SF3 support for precompiled Windows binaries.
This latter change revealed two more problems: 1) parsing of the
OPUS_VERSION
was broken and could led to an index-out-of-range error, and 2) the logic inFindmpg123
was missing theIMPORTED
keyword.Fixes #1298