summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/CMakeLists.txt
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/CMakeLists.txt
parent5485dee80853f3d014f929d538eb02fee1a62a66 (diff)
downloadaudiomanager-1c3e5d99546d0c2d803d50411168d0d887365399.tar.gz
* fix WITH_NSM=off option
Signed-off-by: christian linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/CMakeLists.txt')
-rw-r--r--AudioManagerDaemon/CMakeLists.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/AudioManagerDaemon/CMakeLists.txt b/AudioManagerDaemon/CMakeLists.txt
index bfc026f..270b542 100644
--- a/AudioManagerDaemon/CMakeLists.txt
+++ b/AudioManagerDaemon/CMakeLists.txt
@@ -71,10 +71,16 @@ IF(WITH_DBUS_WRAPPER)
SET (AUDIOMAN_SRCS_CXX
${AUDIOMAN_SRCS_CXX}
src/CAmDbusWrapper.cpp
- src/CAmNodeStateCommunicator.cpp
)
ENDIF(WITH_DBUS_WRAPPER)
+IF(WITH_NSM)
+ SET (AUDIOMAN_SRCS_CXX
+ ${AUDIOMAN_SRCS_CXX}
+ src/CAmNodeStateCommunicator.cpp
+ )
+ENDIF(WITH_NSM)
+
IF(WITH_SOCKETHANDLER_LOOP)
SET (AUDIOMAN_SRCS_CXX
${AUDIOMAN_SRCS_CXX}
@@ -154,7 +160,7 @@ INSTALL(DIRECTORY "${AUDIO_INCLUDE_FOLDER}/"
COMPONENT dev
)
-IF(WITH_DBUS_WRAPPER)
+IF(WITH_NSM)
IF(USE_BUILD_LIBS)
SET(NSM_INTROSPECTION_FILE ${EXECUTABLE_OUTPUT_PATH}/LifeCycleConsumer.xml)
execute_process(
@@ -167,7 +173,7 @@ IF(WITH_DBUS_WRAPPER)
DESTINATION "${NSM_INTROSPECTION_FILE}"
COMPONENT bin)
ENDIF(USE_BUILD_LIBS)
-ENDIF(WITH_DBUS_WRAPPER)
+ENDIF(WITH_NSM)
CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/cmake/config.cmake ${CMAKE_SOURCE_DIR}/include/config.h )