summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-04-08 21:19:04 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2012-04-08 21:19:04 +0300
commitc668fd9e5b5cc8783cd4cf40de53a2fb4cec7ac0 (patch)
treed47a740e7614808291735134217010c991caf829
parent88bbe920b08714acd974ef30785a45d84e87520c (diff)
cmake: Build qmlplayer only if QtDeclarative is found (it is an optional dep).
-rw-r--r--examples/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index bdeedac..c067aec 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -29,5 +29,7 @@ example_distcheck(recorder)
add_subdirectory(voip)
example_distcheck(voip)
-add_subdirectory(qmlplayer)
+if (QT_QTDECLARATIVE_FOUND)
+ add_subdirectory(qmlplayer)
+endif()
example_distcheck(qmlplayer)