Made sure open OIIO does not use system's boost in cases it was compiled from sources
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 17 Nov 2012 11:28:12 +0000 (11:28 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 17 Nov 2012 11:28:12 +0000 (11:28 +0000)
build_files/build_environment/install_deps.sh

index 540c2cb2f8a1eb39969fc4855d3942843736914a..cda183441840dcf9278cad8bfab48f238add65de 100755 (executable)
@@ -345,7 +345,7 @@ compile_OIIO() {
              -D BUILDSTATIC=ON"
 
     if [ -d $INST/boost ]; then
-      cmake_d="$cmake_d -D BOOST_ROOT=$INST/boost"
+      cmake_d="$cmake_d -D BOOST_ROOT=$INST/boost -D Boost_NO_SYSTEM_PATHS=ON"
     fi
 
     # Looks like we do not need ocio in oiio for now...