Remove PkgConfig dependence on Windows
Compare changes
PkgConfig
works properly only on Linux. On Windows, it is part of the MSYS2 platform and there is no guarantee that it works properly; it is also not necessary.
Instead of using PkgConfig
, a CMake module FindPkgVersionWin
is introduced to find the version of a package from a config file.
find_pkg_version_win
function is used to find the version of cerf
package under Windows.
Related to issue #133 (closed)