mirror of
https://github.com/resiprocate/resiprocate.git
synced 2026-01-12 00:05:02 +08:00
-CMake: build resipmedia by default, add separate flag so not dependant on recon being enabled
This commit is contained in:
@@ -134,6 +134,7 @@ option(USE_NETSNMP "Link against NetSNMP client libraries" FALSE)
|
||||
option(BUILD_REPRO "Build repro SIP proxy" TRUE)
|
||||
option(BUILD_RETURN "Build reTurn server" TRUE)
|
||||
option(BUILD_REFLOW "Build reflow library" TRUE)
|
||||
option(BUILD_MEDIA "Build resipmedia library" TRUE)
|
||||
option(BUILD_REND "Build rend" TRUE)
|
||||
option(BUILD_TFM "Build TFM, requires Netxx and cppunit" TRUE)
|
||||
option(BUILD_CLICKTOCALL "Build Click to call application" FALSE)
|
||||
@@ -280,6 +281,7 @@ endif()
|
||||
if(BUILD_RECON)
|
||||
set(USE_SRTP TRUE)
|
||||
set(BUILD_RELOW TRUE)
|
||||
set(BUILD_MEDIA TRUE)
|
||||
set(BUILD_RETURN TRUE)
|
||||
endif()
|
||||
|
||||
@@ -933,7 +935,7 @@ if(BUILD_TFM)
|
||||
add_subdirectory(tfm)
|
||||
endif()
|
||||
|
||||
if(BUILD_RECON)
|
||||
if(BUILD_MEDIA)
|
||||
add_subdirectory(media)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user