Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obs-scripting: Remove Python version upper limit on Linux #10613

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions deps/obs-scripting/cmake/python.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ if(ENABLE_SCRIPTING_PYTHON)

if(OS_WINDOWS)
find_package(Python 3.8...<3.11 REQUIRED Interpreter Development)
elseif(
OS_LINUX
OR OS_FREEBSD
OR OS_OPENBSD)
find_package(Python 3.8 REQUIRED Interpreter Development)
else()
find_package(Python 3.8...<3.12 REQUIRED Interpreter Development)
endif()
Expand Down
8 changes: 7 additions & 1 deletion deps/obs-scripting/obspython/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ if(POLICY CMP0094)
cmake_policy(SET CMP0094 NEW)
endif()

find_package(Python 3.8...<3.12 REQUIRED Interpreter Development)
if(OS_LINUX
OR OS_FREEBSD
OR OS_OPENBSD)
find_package(Python 3.8 REQUIRED Interpreter Development)
else()
find_package(Python 3.8...<3.12 REQUIRED Interpreter Development)
endif()
find_package(SWIG 4 REQUIRED)

include(UseSWIG)
Expand Down
Loading