mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-10-18 22:49:28 -05:00
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
* Generate OBS 32 layout, too, still * Installer supports both OBS 32 and OBS 33
25 lines
715 B
CMake
25 lines
715 B
CMake
# CMake Windows defaults module
|
|
|
|
include_guard(GLOBAL)
|
|
|
|
# Enable find_package targets to become globally available targets
|
|
set(CMAKE_FIND_PACKAGE_TARGETS_GLOBAL TRUE)
|
|
|
|
include(buildspec)
|
|
|
|
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
|
set(CMAKE_INSTALL_PREFIX
|
|
"$ENV{ALLUSERSPROFILE}/obs-studio/plugins"
|
|
CACHE STRING "Default plugin installation directory" FORCE)
|
|
endif()
|
|
|
|
# OBS 33 loads plugins from <name>/<name>.dll instead of <name>/bin/64bit
|
|
option(ADVSS_WINDOWS_LEGACY_LAYOUT
|
|
"Install using the bin/64bit plugin layout required by OBS 32 and older"
|
|
OFF)
|
|
if(ADVSS_WINDOWS_LEGACY_LAYOUT)
|
|
set(ADVSS_WINDOWS_BIN_SUBDIR "/bin/64bit")
|
|
else()
|
|
set(ADVSS_WINDOWS_BIN_SUBDIR "")
|
|
endif()
|