libobs: Add OSX hotkey implementation
parent
5ad553d06d
commit
f37e72205a
|
@ -69,8 +69,23 @@ elseif(APPLE)
|
||||||
mark_as_advanced(COCOA)
|
mark_as_advanced(COCOA)
|
||||||
include_directories(${COCOA})
|
include_directories(${COCOA})
|
||||||
|
|
||||||
|
find_library(APPKIT AppKit)
|
||||||
|
mark_as_advanced(APPKIT)
|
||||||
|
include_directories(${APPKIT})
|
||||||
|
|
||||||
|
find_library(IOKIT IOKit)
|
||||||
|
mark_as_advanced(IOKIT)
|
||||||
|
include_directories(${IOKIT})
|
||||||
|
|
||||||
|
find_library(CARBON Carbon)
|
||||||
|
mark_as_advanced(CARBON)
|
||||||
|
include_directories(${CARBON})
|
||||||
|
|
||||||
set(libobs_PLATFORM_DEPS
|
set(libobs_PLATFORM_DEPS
|
||||||
${COCOA})
|
${COCOA}
|
||||||
|
${APPKIT}
|
||||||
|
${IOKIT}
|
||||||
|
${CARBON})
|
||||||
elseif(UNIX)
|
elseif(UNIX)
|
||||||
set(libobs_PLATFORM_SOURCES
|
set(libobs_PLATFORM_SOURCES
|
||||||
obs-nix.c
|
obs-nix.c
|
||||||
|
|
1115
libobs/obs-cocoa.c
1115
libobs/obs-cocoa.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue