From 6dd874964a6100d070a090fc6f8f96c4ef78f0a9 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Thu, 16 Feb 2012 11:13:13 +0100 Subject: [PATCH] Do not build skype if it's not found --- backends/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backends/CMakeLists.txt b/backends/CMakeLists.txt index 2bb2c447..543b60b8 100644 --- a/backends/CMakeLists.txt +++ b/backends/CMakeLists.txt @@ -11,7 +11,9 @@ if (PROTOBUF_FOUND) if (NOT WIN32) ADD_SUBDIRECTORY(frotz) - ADD_SUBDIRECTORY(skype) + if (${LIBDBUSGLIB_FOUND}) + ADD_SUBDIRECTORY(skype) + endif() endif() endif()