c-koi / gmic-qt

G'MIC-Qt is a versatile front-end to the image processing framework G'MIC.
GNU General Public License v3.0
207 stars 54 forks source link

build: Install GIMP plug-in to a correct directory #78

Closed jtojnar closed 5 years ago

jtojnar commented 5 years ago

We have to call pkg-config directly, since CMake’s pkg-config support is missing variable overriding:

https://gitlab.kitware.com/cmake/cmake/issues/19632

Variable overriding is required for obtaining proper installation paths:

https://www.bassi.io/articles/2018/03/15/pkg-config-and-paths/