Index: OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgUtil/CMakeLists.txt
===================================================================
--- OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgUtil/CMakeLists.txt (revision 8211)
+++ OpenSceneGraph/branches/OpenSceneGraph-2.8.2/src/osgUtil/CMakeLists.txt (revision 10664)
@@ -6,4 +6,14 @@
     ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
 ENDIF(DYNAMIC_OPENSCENEGRAPH)
+
+
+#
+# MSFBO resolve blit to depth buffer control.
+#
+OPTION(OSG_MULTISAMPLE_FBO_RESOLVE_IGNORES_DEPTH "Set to ON to ignore depth when resolving multisampled FBO rendering. This is a workaround for a crash on OS X with NVIDIA driver 1.5.49." OFF)
+IF(OSG_MULTISAMPLE_FBO_RESOLVE_IGNORES_DEPTH)
+    ADD_DEFINITIONS(-DOSG_MULTISAMPLE_FBO_RESOLVE_IGNORES_DEPTH)
+ENDIF(OSG_MULTISAMPLE_FBO_RESOLVE_IGNORES_DEPTH)
+
 
 SET(LIB_NAME osgUtil)
