# CMake Windows build dependencies module # # Adapted from obsproject/obs-plugintemplate. Only change from upstream: qt6 # is dropped from dependencies_list. This plugin's properties UI is plain # obs_properties_*, it never links Qt, and the OBS sub-build is configured # with ENABLE_UI=OFF -- so downloading a ~100 MB Qt bundle on every CI run # would buy nothing. include_guard(GLOBAL) include(buildspec_common) # _check_dependencies_windows: Set up Windows slice for _check_dependencies function(_check_dependencies_windows) set(arch ${CMAKE_VS_PLATFORM_NAME}) set(platform windows-${arch}) set(dependencies_dir "${CMAKE_CURRENT_SOURCE_DIR}/.deps") set(prebuilt_filename "windows-deps-VERSION-ARCH-REVISION.zip") set(prebuilt_destination "obs-deps-VERSION-ARCH") set(obs-studio_filename "VERSION.zip") set(obs-studio_destination "obs-studio-VERSION") set(dependencies_list prebuilt obs-studio) _check_dependencies() endfunction() _check_dependencies_windows()