summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/AmDatabaseHandlerTest
diff options
context:
space:
mode:
authorchristian linke <christian.linke@bmw.de>2013-01-09 15:01:19 +0100
committerchristian linke <christian.linke@bmw.de>2013-01-09 15:01:19 +0100
commit1c3e5d99546d0c2d803d50411168d0d887365399 (patch)
tree75e990e26706fe0116156976071593a3bff56135 /AudioManagerDaemon/test/AmDatabaseHandlerTest
parent5485dee80853f3d014f929d538eb02fee1a62a66 (diff)
downloadaudiomanager-1c3e5d99546d0c2d803d50411168d0d887365399.tar.gz
* fix WITH_NSM=off option
Signed-off-by: christian linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/test/AmDatabaseHandlerTest')
-rw-r--r--AudioManagerDaemon/test/AmDatabaseHandlerTest/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/AudioManagerDaemon/test/AmDatabaseHandlerTest/CMakeLists.txt b/AudioManagerDaemon/test/AmDatabaseHandlerTest/CMakeLists.txt
index f8303b3..f4c7ecb 100644
--- a/AudioManagerDaemon/test/AmDatabaseHandlerTest/CMakeLists.txt
+++ b/AudioManagerDaemon/test/AmDatabaseHandlerTest/CMakeLists.txt
@@ -55,11 +55,16 @@ file(GLOB DATABASE_SRCS_CXX
"../../src/CAmSocketHandler.cpp"
"../../src/CAmCommandReceiver.cpp"
"../../src/CAmRoutingReceiver.cpp"
- "../../src/CAmNodeStateCommunicator.cpp"
"../../src/CAmDbusWrapper.cpp"
"../CAmCommonFunctions.cpp"
"*.cpp"
)
+
+IF(WITH_NSM)
+ SET (CONTROL_INTERFACE_SRCS_CXX
+ ${CONTROL_INTERFACE_SRCS_CXX}
+ "../../src/CAmNodeStateCommunicator.cpp")
+ENDIF(WITH_NSM)
ADD_EXECUTABLE( AmDatabaseHandlerTest ${DATABASE_SRCS_CXX})