install_deps.sh:
authorThomas Dinges <blender@dingto.org>
Sun, 24 Feb 2013 11:54:28 +0000 (11:54 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 24 Feb 2013 11:54:28 +0000 (11:54 +0000)
* Disable OIIO test and cmd tools per default, they are not needed for Blender.

build_files/build_environment/install_deps.sh

index 5175eb9..490c976 100755 (executable)
@@ -796,6 +796,11 @@ compile_OIIO() {
     cmake_d="$cmake_d -D CMAKE_PREFIX_PATH=$_inst"
     cmake_d="$cmake_d -D CMAKE_INSTALL_PREFIX=$_inst"
     cmake_d="$cmake_d -D BUILDSTATIC=ON"
+       
+    # Optional tests and cmd tools
+    cmake_d="$cmake_d -D USE_QT=OFF"
+    cmake_d="$cmake_d -D OIIO_BUILD_TOOLS=OFF"
+    cmake_d="$cmake_d -D OIIO_BUILD_TESTS=OFF"
 
     # linking statically could give issues on Debian/Ubuntu (and probably other distros
     # which doesn't like static linking) when linking shared oiio library due to missing