Updates to the CMake build system for Mac OSX

This commit is contained in:
Ravi Mathur
2016-08-10 14:30:28 +01:00
committed by Robert Osfield
parent 2b9dfab1fc
commit e9d6737ec4
8 changed files with 159 additions and 90 deletions

View File

@@ -1,3 +1,8 @@
# AVFoundation plugin only works with OSX/Cocoa (not X11 or Carbon)
IF(NOT OSG_WINDOWING_SYSTEM STREQUAL "Cocoa")
MESSAGE(WARNING "Disabling AVFoundation plugin because it requires OSG_WINDOWING_SYSTEM to be Cocoa")
RETURN()
ENDIF()
SET(TARGET_SRC
OSXAVFoundationVideo.mm