New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or greater, old functionality remains unchanged.
9 lines
205 B
CMake
9 lines
205 B
CMake
option(ENABLE_VIRTUALCAM "Build OBS Virtualcam" ON)
|
|
|
|
if(NOT ENABLE_VIRTUALCAM)
|
|
obs_status(DISABLED "mac-virtualcam")
|
|
return()
|
|
endif()
|
|
|
|
add_subdirectory(src/obs-plugin)
|
|
add_subdirectory(src/dal-plugin)
|