LiveKit integration: real camera feed pipeline #1
@@ -20,6 +20,10 @@
|
|||||||
# branch: a runner with only the Command Line Tools has no xcodebuild.
|
# branch: a runner with only the Command Line Tools has no xcodebuild.
|
||||||
# 5. Generator flags are built as CMake lists so each becomes its own argv
|
# 5. Generator flags are built as CMake lists so each becomes its own argv
|
||||||
# entry, rather than upstream's space-separated strings passed unquoted.
|
# entry, rather than upstream's space-separated strings passed unquoted.
|
||||||
|
# 6. The install step targets the libobs subdirectory rather than the whole
|
||||||
|
# build tree, so it does not trip over the install rules of targets that
|
||||||
|
# were deliberately never built.
|
||||||
|
# 7. _resolve_versioned_macos_sdk exists at all -- see its own comment.
|
||||||
#
|
#
|
||||||
|
|
||||||
include_guard(GLOBAL)
|
include_guard(GLOBAL)
|
||||||
@@ -207,10 +211,21 @@ function(_setup_obs_studio)
|
|||||||
)
|
)
|
||||||
message(STATUS "Build ${label} (Release - ${arch}) - done")
|
message(STATUS "Build ${label} (Release - ${arch}) - done")
|
||||||
|
|
||||||
|
# Install only libobs's own rules, not the whole build tree's. Installing
|
||||||
|
# from the top-level build directory walks every subproject's
|
||||||
|
# cmake_install.cmake, including UI/obs-frontend-api's, which then fails on
|
||||||
|
# a binary that was deliberately never built:
|
||||||
|
#
|
||||||
|
# file INSTALL cannot find ".../obs-frontend-api.dylib": No such file
|
||||||
|
#
|
||||||
|
# Pointing --install at the libobs subdirectory installs the framework /
|
||||||
|
# import library, the headers, and libobsConfig.cmake + libobsTargets.cmake
|
||||||
|
# -- everything find_package(libobs) needs -- and nothing else.
|
||||||
message(STATUS "Install ${label} (${arch})")
|
message(STATUS "Install ${label} (${arch})")
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND
|
COMMAND
|
||||||
"${CMAKE_COMMAND}" --install build_${arch} --component Development --config Release --prefix "${dependencies_dir}"
|
"${CMAKE_COMMAND}" --install build_${arch}/libobs --component Development --config Release --prefix
|
||||||
|
"${dependencies_dir}"
|
||||||
WORKING_DIRECTORY "${dependencies_dir}/${_obs_destination}"
|
WORKING_DIRECTORY "${dependencies_dir}/${_obs_destination}"
|
||||||
RESULT_VARIABLE _process_result
|
RESULT_VARIABLE _process_result
|
||||||
COMMAND_ERROR_IS_FATAL ANY
|
COMMAND_ERROR_IS_FATAL ANY
|
||||||
|
|||||||
Reference in New Issue
Block a user