Remove PkgConfig dependence on Windows
Compare changes
Files
2+ 14
− 3
@@ -16,12 +16,23 @@ set(Cerf_ULTIMATELY_REQUIRED ${Cerf_FIND_REQUIRED})
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)