File new_buildsystem_fix.patch of Package obs-studio-next
diff --git a/CMakePresets.json b/CMakePresets.json
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -89,6 +89,39 @@
}
},
{
+ "name": "opensuse",
+ "displayName": "openSUSE",
+ "description": "obs-studio for openSUSE",
+ "inherits": ["environmentVars"],
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Linux"
+ },
+ "binaryDir": "${sourceDir}/build_opensuse",
+ "generator": "Ninja",
+ "warnings": {"dev": true, "deprecated": true},
+ "cacheVariables": {
+ "CMAKE_BUILD_TYPE": "Debug",
+ "CMAKE_INSTALL_LIBDIR": "lib64",
+ "ENABLE_AJA": false,
+ "ENABLE_VLC": true,
+ "ENABLE_WAYLAND": true,
+ "ENABLE_WEBRTC": true,
+ "ENABLE_BROWSER": true
+ }
+ },
+ {
+ "name": "opensuse-ci",
+ "inherits": ["opensuse"],
+ "cacheVariables": {
+ "CMAKE_BUILD_TYPE": "RelWithDebInfo",
+ "CMAKE_COMPILE_WARNING_AS_ERROR": true,
+ "CMAKE_COLOR_DIAGNOSTICS": true,
+ "ENABLE_CCACHE": true
+ }
+ },
+ {
"name": "windows-x64",
"displayName": "Windows x64",
"description": "Default Windows build (x64)",