Skip to content

Instantly share code, notes, and snippets.

==> Installing open-scene-graph
Warning: Formula will not build with Clang, trying LLVM
==> Downloading http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-3.0.1/source/OpenSceneGraph-3.0.1.zip
######################################################################## 100,0%
==> Patching
patching file CMakeModules/FindCOLLADA.cmake
==> cmake .. -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/open-scene-graph/3.0.1' -DCMAKE_BUILD_TYPE=None -Wno-dev -DBUILD_OSG_WRAPPERS=ON -DBUILD_DOCUMENTATION=ON -DCMAKE_OSX_ARCHITEC
==> make install
Scanning dependencies of target OpenThreads
[ 0%] [ 0%] Building CXX object src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThreadBarrier.cpp.o
Index: OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.mm
===================================================================
--- a/src/osgViewer/DarwinUtils.mm (revision 12292)
+++ b/src/osgViewer/DarwinUtils.mm (revision 12790)
@@ -48,4 +48,23 @@
namespace osgDarwin {
+//
+// Lion replacement for CGDisplayBitsPerPixel(CGDirectDisplayID displayId)
+//
diff --git a/CMakeModules/FindCOLLADA.cmake b/CMakeModules/FindCOLLADA.cmake
index 428cb29..6206580 100644
--- a/CMakeModules/FindCOLLADA.cmake
+++ b/CMakeModules/FindCOLLADA.cmake
@@ -235,7 +235,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY_DEBUG
)
FIND_LIBRARY(COLLADA_BOOST_FILESYSTEM_LIBRARY
- NAMES libboost_filesystem boost_filesystem libboost_filesystem-vc90-mt libboost_filesystem-vc100-mt
+ NAMES libboost_filesystem boost_filesystem boost_filesystem-mt libboost_filesystem-vc90-mt libboost_filesystem-vc100-mt