-
Notifications
You must be signed in to change notification settings - Fork 111
MacOS getDevice() optimization, set CI env var, & add getVideoDevices() test #1691
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
base: staging
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,15 +29,15 @@ ENDIF() | |
|
|
||
| # Comfigure macos architecture and min version | ||
| iF(APPLE) | ||
| set(CMAKE_XCODE_ATTRIBUTE_MACOSX_DEPLOYMENT_TARGET[arch=arm64] "11.0") | ||
| set(CMAKE_XCODE_ATTRIBUTE_MACOSX_DEPLOYMENT_TARGET[arch=x86_64] "10.15") | ||
| set(CMAKE_XCODE_ATTRIBUTE_MACOSX_DEPLOYMENT_TARGET[arch=arm64] "12.0") | ||
| set(CMAKE_XCODE_ATTRIBUTE_MACOSX_DEPLOYMENT_TARGET[arch=x86_64] "12.0") | ||
| if (NOT CMAKE_OSX_ARCHITECTURES) | ||
|
Comment on lines
30
to
34
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, Streamlabs Desktop minimum version is actually MacOS 12 (this version in particular is special, my minspec Intel laptop is set to MacOS 12 while the Mac M4 is using latest). I just never updated the deployment target in the xcode cmake file because we never needed to bump it (only reason I was thinking to bump it now is to make it obvious there is no need for fallback code for anything older then macOS 12) but should have bumped this much earlier... This matches SLOBS Deployment target now. |
||
| set(CMAKE_OSX_ARCHITECTURES "${CMAKE_HOST_SYSTEM_PROCESSOR}") | ||
| endif() | ||
| if ("${CMAKE_OSX_ARCHITECTURES}" STREQUAL "arm64") | ||
| set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0") | ||
| set(CMAKE_OSX_DEPLOYMENT_TARGET "12.0") | ||
| else() | ||
| set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15") | ||
| set(CMAKE_OSX_DEPLOYMENT_TARGET "12.0") | ||
| endif() | ||
| # See CMake issue # 21854 | ||
| # https://gitlab.kitware.com/cmake/cmake/-/issues/21854 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.