Skip to content
  • Pino Toscano's avatar
    qmake: improve and optimize pkg-config usage · 1f2f6344
    Pino Toscano authored
    Make use of the qmake feature for finding packages using pkg-config,
    and using their results for include paths and libraries.
    Also, optimize the way the version of poppler is read: query pkg-config
    only once at qmake time, splitting the bits in variables added as
    CFLAGS; this way, we avoids spawning 99 times (!) pkg-config and cut
    during build.
    
    All of this is done on Unix systems only, as pkg-config is available
    only there.
    1f2f6344