# # Setup the RTCSessionController compiler options. # # To build with RTCSessionController capabilities, specify: # cmake -DRTCSC=ON \ # -DRTCSC_LIB_PATH= \ # -DRTCSC_INCLUDE_DIR= option(RTCSC "Enable the RTCSessionController functionality" OFF) if(RTCSC) if(NOT RTCSC_LIB_PATH) message(FATAL_ERROR "Must pass library path for RTCSC to enable RTCSC.") endif() if(NOT RTCSC_INCLUDE_DIR) message(FATAL_ERROR "Must pass include dir path for RTCSC to enable RTCSC.") endif() message("Creating ${PROJECT_NAME} with RTCSessionController") add_definitions(-DENABLE_RTCSC) endif()