Update OSX dependencies for cmake generators other than ninja/make
This commit is contained in:
parent
b9c544969e
commit
cfc3f2590e
@ -28,7 +28,8 @@ elseif(APPLE)
|
||||
|
||||
set(libobs-opengl_PLATFORM_DEPS
|
||||
${COCOA}
|
||||
${IOSURF})
|
||||
${IOSURF}
|
||||
${OPENGL_gl_LIBRARY})
|
||||
else()
|
||||
set(libobs-opengl_PLATFORM_SOURCES
|
||||
gl-x11.c)
|
||||
|
@ -1,12 +1,14 @@
|
||||
project(mac-avcapture)
|
||||
|
||||
find_library(AVFOUNDATION AVFoundation)
|
||||
find_library(COCOA Cocoa)
|
||||
find_library(COREFOUNDATION CoreFoundation)
|
||||
find_library(COREMEDIA CoreMedia)
|
||||
find_library(COREVIDEO CoreVideo)
|
||||
|
||||
|
||||
include_directories(${AVFOUNDATION}
|
||||
${COCOA}
|
||||
${COREFOUNDATION}
|
||||
${COREMEDIA}
|
||||
${COREVIDEO})
|
||||
@ -28,6 +30,7 @@ add_library(mac-avcapture MODULE
|
||||
target_link_libraries(mac-avcapture
|
||||
libobs
|
||||
${AVFOUNDATION}
|
||||
${COCOA}
|
||||
${COREFOUNDATION}
|
||||
${COREMEDIA}
|
||||
${COREVIDEO})
|
||||
|
Loading…
x
Reference in New Issue
Block a user