diff options
author | Aleksander Donchev <aleksander.donchev@partner.bmw.de> | 2013-07-10 14:42:14 +0200 |
---|---|---|
committer | Aleksander Donchev <aleksander.donchev@partner.bmw.de> | 2013-07-10 14:59:18 +0200 |
commit | c3220ca0a6a78f0e5d0185468682eb412dc70732 (patch) | |
tree | d27f0bebc83650e88625fddc97f23b6cc0d3489d /AudioManagerDaemon/CMakeLists.txt | |
parent | bf1e30390580a6f2bb014f9c3f157d70417bffa5 (diff) | |
download | audiomanager-c3220ca0a6a78f0e5d0185468682eb412dc70732.tar.gz |
cmake configuration now allows change of inital map sizes
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/CMakeLists.txt')
-rw-r--r-- | AudioManagerDaemon/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/AudioManagerDaemon/CMakeLists.txt b/AudioManagerDaemon/CMakeLists.txt index f917fd5..66931f7 100644 --- a/AudioManagerDaemon/CMakeLists.txt +++ b/AudioManagerDaemon/CMakeLists.txt @@ -60,7 +60,9 @@ SET(AUDIOMAN_SRCS_CXX # Preallocation variable for the map. IF(NOT WITH_DATABASE_STORAGE ) - set (AM_MAP_CAPACITY 10) + IF(NOT DEFINED AM_MAP_CAPACITY) + set (AM_MAP_CAPACITY 10) + ENDIF(NOT DEFINED AM_MAP_CAPACITY) add_definitions( -DAM_MAP_CAPACITY=${AM_MAP_CAPACITY} ) ENDIF(NOT WITH_DATABASE_STORAGE) |