From f563997d4a8a14c1ee94db238cb9be793abc0647 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Fri, 15 May 2009 14:10:39 +0000 Subject: [PATCH] Fix issue with undefined MAX_RTP_SESSION git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1385 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 749609ae..ab7ca342 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -55,6 +55,10 @@ INCLUDE_DIRECTORIES (amci) ADD_EXECUTABLE (sems ${sems_SRCS}) TARGET_LINK_LIBRARIES(sems ${CMAKE_DL_LIBS} pthread stdc++ m) +IF(NOT MAX_RTP_SESSIONS) + SET(MAX_RTP_SESSIONS 2048) +ENDIF(NOT MAX_RTP_SESSIONS) + IF(CMAKE_COMPILER_IS_GNUCC) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DMAX_RTP_SESSIONS=${MAX_RTP_SESSIONS}") ENDIF(CMAKE_COMPILER_IS_GNUCC)