From c668fd9e5b5cc8783cd4cf40de53a2fb4cec7ac0 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Sun, 8 Apr 2012 21:19:04 +0300 Subject: cmake: Build qmlplayer only if QtDeclarative is found (it is an optional dep). --- examples/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3