File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.5)
22project (webrtc-streamer)
33
4+ # Set CMAKE_SYSTEM_PROCESSOR if not already set (for native builds)
5+ if (NOT CMAKE_SYSTEM_PROCESSOR )
6+ set (CMAKE_SYSTEM_PROCESSOR ${CMAKE_HOST_SYSTEM_PROCESSOR} )
7+ endif ()
8+
49set (WEBRTCROOT "${CMAKE_CURRENT_SOURCE_DIR} /../webrtc" CACHE STRING "WEBRTC root directory" )
510set (WEBRTCDESKTOPCAPTURE "ON" CACHE STRING "WEBRTC Desktop capture" )
611set (WEBRTCCHROMEBRANDED "ON" CACHE STRING "WEBRTC Chrome branded" )
712set (WEBRTCVERSION "62f5e2318d617abaa1f479422a4c6892c14e56a3" CACHE STRING "WEBRTC version" )
813set (WEBRTCSTREAMERRESSOURCE "./html" CACHE STRING "WEBRTC ressource directory" )
914
1015if (NOT CMAKE_BUILD_TYPE )
11- set (CMAKE_BUILD_TYPE "Release" )
16+ set (CMAKE_BUILD_TYPE "Release" )
1217endif ()
1318MESSAGE ("CMAKE_BUILD_TYPE = ${CMAKE_BUILD_TYPE} \n WEBRTCROOT = ${WEBRTCROOT} \n WEBRTCDESKTOPCAPTURE= ${WEBRTCDESKTOPCAPTURE} \n CMAKE_CXX_COMPILER_ID=${CMAKE_CXX_COMPILER_ID} \n WEBRTCVERSION=${WEBRTCVERSION} " )
1419
You can’t perform that action at this time.
0 commit comments