From 529f38bd8878b6b1bea2b5457031ce936aab8d80 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Mon, 6 Oct 2014 15:03:54 +0200 Subject: addedd communi --- libcommuni/src/3rdparty/pkg.pri | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libcommuni/src/3rdparty/pkg.pri (limited to 'libcommuni/src/3rdparty/pkg.pri') 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) +} -- cgit v1.2.3-54-g00ecf