summaryrefslogtreecommitdiff
path: root/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 /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 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1f4e4da..a5e60d7 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,6 +79,10 @@ OPTION ( GLIB_DBUS_TYPES_TOLERANT
OPTION ( WITH_NSM
"build with NSM support" ON)
+IF (NOT WITH_DBUS_WRAPPER)
+ SET (WITH_NSM OFF)
+ENDIF (NOT WITH_DBUS_WRAPPER)
+
#Can be changed via passing -DDBUS_SERVICE_PREFIX="XXX" to cmake
IF(NOT DEFINED DBUS_SERVICE_PREFIX)