From 95386672a2406e8878d4cad5ce48203d68b374c4 Mon Sep 17 00:00:00 2001 From: christian mueller Date: Fri, 27 Apr 2012 14:51:38 +0200 Subject: * [GAM-69] AudioManager tests does not compile without dlt installed (WITH_DLT=OFF) fixed Signed-off-by: christian mueller --- AudioManagerDaemon/test/AmSocketHandlerTest/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'AudioManagerDaemon/test/AmSocketHandlerTest/CMakeLists.txt') diff --git a/AudioManagerDaemon/test/AmSocketHandlerTest/CMakeLists.txt b/AudioManagerDaemon/test/AmSocketHandlerTest/CMakeLists.txt index 79ed13e..c5edaa7 100644 --- a/AudioManagerDaemon/test/AmSocketHandlerTest/CMakeLists.txt +++ b/AudioManagerDaemon/test/AmSocketHandlerTest/CMakeLists.txt @@ -30,7 +30,10 @@ set(INCLUDE_FOLDER ${CMAKE_SOURCE_DIR}/../../include) FIND_PACKAGE(PkgConfig) -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( ${CMAKE_CURRENT_BINARY_DIR} -- cgit v1.2.1