summaryrefslogtreecommitdiff
path: root/PluginControlInterface
diff options
context:
space:
mode:
authorchristian linke <christian.linke@bmw.de>2013-01-07 13:32:52 +0100
committerchristian linke <christian.linke@bmw.de>2013-01-07 13:32:52 +0100
commit8f43ba9159a4f9f5efbf9c2515f314cc58737d48 (patch)
tree574f176d227d12b602d8d6153b58fb69bddc2854 /PluginControlInterface
parent0e0dd48074670493189ab28ff49fdd2cf298ff70 (diff)
downloadaudiomanager-8f43ba9159a4f9f5efbf9c2515f314cc58737d48.tar.gz
* take away mandatory NSM dependency and ship NSM headers as fallback
Signed-off-by: christian linke <christian.linke@bmw.de>
Diffstat (limited to 'PluginControlInterface')
-rw-r--r--PluginControlInterface/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/PluginControlInterface/CMakeLists.txt b/PluginControlInterface/CMakeLists.txt
index b1be2d1..f90fe04 100644
--- a/PluginControlInterface/CMakeLists.txt
+++ b/PluginControlInterface/CMakeLists.txt
@@ -27,6 +27,8 @@ STRING(REGEX MATCH "ControlSendVersion*.[^0-9]*[0-9].[0-9]*[0-9]" LIB_INTERFACE_
STRING(REGEX REPLACE "ControlSendVersion*.." "" LIB_INTERFACE_VERSION ${LIB_INTERFACE_VERSION_STRING})
MESSAGE(STATUS "Building against control interface version ${LIB_INTERFACE_VERSION}")
+FIND_PACKAGE(NSM REQUIRED)
+
INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}
${STD_INCLUDE_DIRS}
@@ -34,6 +36,7 @@ INCLUDE_DIRECTORIES(
${AUDIO_INCLUDE_FOLDER}
${PROJECT_INCLUDE_FOLDER}
${INCLUDE_FOLDER}
+ ${NSM_INCLUDE_DIR}
)
# all source files go here