2016-08-10 21:30:28 +08:00
|
|
|
# On OSX, this example only compiles if using Cocoa
|
|
|
|
IF(APPLE AND NOT (OSG_WINDOWING_SYSTEM STREQUAL "Cocoa"))
|
|
|
|
MESSAGE(WARNING "Disabling osgoscdevice example because it requires OSG_WINDOWING_SYSTEM to be Cocoa")
|
|
|
|
RETURN()
|
|
|
|
ENDIF()
|
2012-11-28 18:43:58 +08:00
|
|
|
|
|
|
|
SET(TARGET_SRC osgoscdevice.cpp )
|
|
|
|
#### end var setup ###
|
|
|
|
SETUP_EXAMPLE(osgoscdevice)
|