summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/AmRoutingInterfaceTest
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/AmRoutingInterfaceTest
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/AmRoutingInterfaceTest')
-rw-r--r--AudioManagerDaemon/test/AmRoutingInterfaceTest/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/AudioManagerDaemon/test/AmRoutingInterfaceTest/CMakeLists.txt b/AudioManagerDaemon/test/AmRoutingInterfaceTest/CMakeLists.txt
index 0316083..2928335 100644
--- a/AudioManagerDaemon/test/AmRoutingInterfaceTest/CMakeLists.txt
+++ b/AudioManagerDaemon/test/AmRoutingInterfaceTest/CMakeLists.txt
@@ -57,11 +57,16 @@ file(GLOB ROUTING_INTERFACE_SRCS_CXX
"../../src/CAmSocketHandler.cpp"
"../../src/CAmRoutingReceiver.cpp"
"../../src/CAmCommandReceiver.cpp"
- "../../src/CAmNodeStateCommunicator.cpp"
"../../src/CAmDbusWrapper.cpp"
"*.cpp"
)
+IF(WITH_NSM)
+ SET (CONTROL_INTERFACE_SRCS_CXX
+ ${CONTROL_INTERFACE_SRCS_CXX}
+ "../../src/CAmNodeStateCommunicator.cpp")
+ENDIF(WITH_NSM)
+
ADD_EXECUTABLE(AmRoutingInterfaceTest ${ROUTING_INTERFACE_SRCS_CXX})
TARGET_LINK_LIBRARIES(AmRoutingInterfaceTest