From 1c3e5d99546d0c2d803d50411168d0d887365399 Mon Sep 17 00:00:00 2001 From: christian linke Date: Wed, 9 Jan 2013 15:01:19 +0100 Subject: * fix WITH_NSM=off option Signed-off-by: christian linke --- AudioManagerDaemon/test/AmRoutingInterfaceTest/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'AudioManagerDaemon/test/AmRoutingInterfaceTest') 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 -- cgit v1.2.1