cmake: Make mac vcam optional (enabled by default)

This commit is contained in:
jp9000 2021-01-11 16:16:25 -08:00
parent 461a0c5484
commit c390bb950d

View File

@ -30,7 +30,10 @@ elseif(APPLE)
add_subdirectory(mac-capture)
add_subdirectory(mac-vth264)
add_subdirectory(mac-syphon)
add_subdirectory(mac-virtualcam)
option(BUILD_VIRTUALCAM "Build Virtualcam" ON)
if(BUILD_VIRTUALCAM)
add_subdirectory(mac-virtualcam)
endif()
add_subdirectory(decklink/mac)
add_subdirectory(vlc-video)
add_subdirectory(linux-jack)