diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2012-04-08 21:19:04 +0300 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2012-04-08 21:19:04 +0300 |
commit | c668fd9e5b5cc8783cd4cf40de53a2fb4cec7ac0 (patch) | |
tree | d47a740e7614808291735134217010c991caf829 | |
parent | 88bbe920b08714acd974ef30785a45d84e87520c (diff) |
cmake: Build qmlplayer only if QtDeclarative is found (it is an optional dep).
-rw-r--r-- | examples/CMakeLists.txt | 4 |
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) |