diff options
Diffstat (limited to 'libcommuni/src/3rdparty/pkg.pri')
| -rw-r--r-- | libcommuni/src/3rdparty/pkg.pri | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libcommuni/src/3rdparty/pkg.pri b/libcommuni/src/3rdparty/pkg.pri new file mode 100644 index 0000000..53715fb --- /dev/null +++ b/libcommuni/src/3rdparty/pkg.pri @@ -0,0 +1,10 @@ +###################################################################### +# Communi +###################################################################### + +defineTest(pkgExists) { + contains(QT_CONFIG, no-pkg-config):return(false) + isEmpty(PKG_CONFIG):PKG_CONFIG = pkg-config + unix:system($$PKG_CONFIG --exists $$1 2> /dev/null):return(true) + return(false) +} |
