summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qcam/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qcam/meson.build b/src/qcam/meson.build
index 8a71cda3..3d8b1b3b 100644
--- a/src/qcam/meson.build
+++ b/src/qcam/meson.build
@@ -8,7 +8,10 @@ qcam_sources = files([
])
import('qt5')
-qt5_dep = dependency('qt5', modules: ['Core', 'Gui', 'Widgets'], required : false)
+qt5_dep = dependency('qt5',
+ method : 'pkg-config',
+ modules : ['Core', 'Gui', 'Widgets'],
+ required : false)
if qt5_dep.found()
qcam = executable('qcam', qcam_sources,