summaryrefslogtreecommitdiff
path: root/PluginCommandInterfaceDbus
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2012-04-27 14:51:38 +0200
committerchristian mueller <christian.ei.mueller@bmw.de>2012-05-24 13:40:22 +0200
commit95386672a2406e8878d4cad5ce48203d68b374c4 (patch)
treeb0018c0c4b42cba0c9cfde241bde5097ba4785c9 /PluginCommandInterfaceDbus
parent2612866aa6ff673a60e80100b3d63b83903240f1 (diff)
downloadaudiomanager-95386672a2406e8878d4cad5ce48203d68b374c4.tar.gz
* [GAM-69] AudioManager tests does not compile without dlt installed (WITH_DLT=OFF) fixed
Signed-off-by: christian mueller <christian.ei.mueller@bmw.de>
Diffstat (limited to 'PluginCommandInterfaceDbus')
-rw-r--r--PluginCommandInterfaceDbus/test/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/PluginCommandInterfaceDbus/test/CMakeLists.txt b/PluginCommandInterfaceDbus/test/CMakeLists.txt
index 08acb6b..5aa3e8d 100644
--- a/PluginCommandInterfaceDbus/test/CMakeLists.txt
+++ b/PluginCommandInterfaceDbus/test/CMakeLists.txt
@@ -30,7 +30,11 @@ find_package (Threads)
FIND_PACKAGE(DBUS REQUIRED)
FIND_PACKAGE(PkgConfig)
find_package(PythonLibs REQUIRED)
-pkg_check_modules(DLT REQUIRED automotive-dlt)
+
+IF(WITH_DLT)
+ pkg_check_modules(DLT REQUIRED automotive-dlt>=2.2.0)
+ENDIF(WITH_DLT)
+
INCLUDE_DIRECTORIES(
${STD_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}