Skip to content

Instantly share code, notes, and snippets.

@VoodaGod
Created April 2, 2025 15:51
Show Gist options
  • Save VoodaGod/3ad0c5d23cfca93518317d4135e4dcca to your computer and use it in GitHub Desktop.
Save VoodaGod/3ad0c5d23cfca93518317d4135e4dcca to your computer and use it in GitHub Desktop.
gamescope openvr cmake 4 build compatibilty
adapted from https://patch-diff.githubusercontent.com/raw/ValveSoftware/openvr/pull/1890.patch
---
subprojects/openvr/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/openvr/CMakeLists.txt b/subprojects/openvr/CMakeLists.txt
index fb4c7851..52678aff 100644
--- a/subprojects/openvr/CMakeLists.txt
+++ b/subprojects/openvr/CMakeLists.txt
@@ -1,5 +1,5 @@
# Set the minimum required version of CMake for this project.
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8...4.0)
# Set project name.
project(OpenVRSDK)
@VoodaGod
Copy link
Author

VoodaGod commented Apr 2, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment