-CMake: build resipmedia by default, add separate flag so not dependant on recon being enabled

This commit is contained in:
Scott Godin
2026-01-08 17:53:37 -05:00
parent 69a0751185
commit c76b5b4247

View File

@@ -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()