mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
mac-syphon: Ignore 10.13-only deprecation warning
This commit is contained in:
parent
4dd1da8a1e
commit
393af9d916
|
@ -678,7 +678,11 @@ static inline void launch_syphon_inject_internal()
|
|||
NSString *path = get_inject_application_path();
|
||||
NSWorkspace *ws = [NSWorkspace sharedWorkspace];
|
||||
if (path)
|
||||
/* This is only ever relevant on macOS 10.13 */
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
[ws launchApplication:path];
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
|
||||
static bool launch_syphon_inject(obs_properties_t *props, obs_property_t *prop,
|
||||
|
|
Loading…
Reference in a new issue