include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/libobs") if(WIN32) add_subdirectory(win-wasapi) add_subdirectory(win-dshow) add_subdirectory(win-capture) elseif(APPLE) add_subdirectory(mac-avcapture) add_subdirectory(mac-capture) elseif("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") add_subdirectory(linux-xshm) add_subdirectory(linux-xcomposite) add_subdirectory(linux-pulseaudio) add_subdirectory(linux-v4l2) endif() add_subdirectory(obs-x264) add_subdirectory(obs-libfdk) add_subdirectory(obs-ffmpeg) add_subdirectory(obs-outputs) add_subdirectory(rtmp-services)