cmake: fix GTK3 detection via pkg-config
authorPeter Wu <peter@lekensteyn.nl>
Mon, 9 May 2016 19:54:10 +0000 (21:54 +0200)
committerPeter Wu <peter@lekensteyn.nl>
Mon, 9 May 2016 20:01:20 +0000 (20:01 +0000)
commit27646e1cb4a6bc1348921dbff2a2590fcdfeba6e
treea85568fd47813113c8a22afd0bb5536870b3c4d3
parentcb2627c77fad1e6f1f89d8ca1d0e216861d34dfa
cmake: fix GTK3 detection via pkg-config

Put QUIET before the module name, otherwise FindPkgConfig tries to
locate a module named QUIET. This fixes a build failure that complains
about missing pango/pango.h.

Tested with GTK 3.20, CMake 3.5.2 on Arch Linux.

Change-Id: I76e487d0f4b7f9fbac4105521c349b392b680923
Reviewed-on: https://code.wireshark.org/review/15314
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
cmake/modules/FindGTK3.cmake