• Chun-wei Fan's avatar
    meson: Improve dependency check on Windows · 4a1fb669
    Chun-wei Fan authored
    On Visual Studio, it is quite common that many of the dependencies do
    not have build systems that generate pkg-config or CMake files upon the
    build, so we check for those dependencies manually if their pkg-config
    (or CMake) files could not be found.
    
    For lcms2, we also need to check whether it is built as a static .lib or
    a DLL, as -DCMS_DLL must be passed into the CFlags when lcms2 is built
    as a DLL, otherwise linking will fail.
    
    Also generate the .pc file for libgxps according to whether we found the
    pkg-config file for Cairo.
    4a1fb669
Name
Last commit
Last update
docs Loading commit data...
libgxps Loading commit data...
mesonscripts Loading commit data...
regtest Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
MAINTAINERS Loading commit data...
NEWS Loading commit data...
README Loading commit data...
RELEASING Loading commit data...
TODO Loading commit data...
libgxps.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...