Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-12-09 15:32:13 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-12-09 16:34:21 +0300
commit4cba8d12b9c2ece7c54a063037f8a75352d53f14 (patch)
treec08d8114c3560be05bdf97093d9690e7d4f1f13c /build_files
parent56a55f2849216897bea5e1c83e1456de9250ec08 (diff)
install_deps.sh: add '-U' update commands to onle-liner CMake-based build command line.
Avoid user to have to edit themselves their CMake config. Thanks a bunch @campbellbarton for the tip! :D
Diffstat (limited to 'build_files')
-rwxr-xr-xbuild_files/build_environment/install_deps.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh
index f5a9a3af33f..49ec93b33a4 100755
--- a/build_files/build_environment/install_deps.sh
+++ b/build_files/build_environment/install_deps.sh
@@ -3687,11 +3687,11 @@ print_info() {
_1="-D WITH_CODEC_SNDFILE=ON"
PRINT " $_1"
- _buildargs="$_buildargs $_1"
+ _buildargs="$_buildargs -U *SNDFILE* $_1"
_1="-D PYTHON_VERSION=$PYTHON_VERSION_MIN"
PRINT " $_1"
- _buildargs="$_buildargs $_1"
+ _buildargs="$_buildargs -U *PYTHON* $_1"
if [ -d $INST/python-$PYTHON_VERSION_MIN ]; then
_1="-D PYTHON_ROOT_DIR=$INST/python-$PYTHON_VERSION_MIN"
PRINT " $_1"
@@ -3703,25 +3703,25 @@ print_info() {
_2="-D Boost_NO_SYSTEM_PATHS=ON"
PRINT " $_1"
PRINT " $_2"
- _buildargs="$_buildargs $_1 $_2"
+ _buildargs="$_buildargs -U *BOOST* -U *Boost* $_1 $_2"
fi
if [ -d $INST/ocio ]; then
_1="-D OPENCOLORIO_ROOT_DIR=$INST/ocio"
PRINT " $_1"
- _buildargs="$_buildargs $_1"
+ _buildargs="$_buildargs -U *OPENCOLORIO* $_1"
fi
if [ -d $INST/openexr ]; then
_1="-D OPENEXR_ROOT_DIR=$INST/openexr"
PRINT " $_1"
- _buildargs="$_buildargs $_1"
+ _buildargs="$_buildargs -U *OPENEXR* $_1"
fi
if [ -d $INST/oiio ]; then
_1="-D OPENIMAGEIO_ROOT_DIR=$INST/oiio"
PRINT " $_1"
- _buildargs="$_buildargs $_1"
+ _buildargs="$_buildargs -U *OPENIMAGEIO* $_1"
fi
if [ "$OSL_SKIP" = false ]; then
@@ -3731,7 +3731,7 @@ print_info() {
PRINT " $_1"
PRINT " $_2"
PRINT " $_3"
- _buildargs="$_buildargs $_1 $_2 $_3"
+ _buildargs="$_buildargs -U *LLVM* -U *CYCLES* $_1 $_2 $_3"
if [ -d $INST/osl ]; then
_1="-D CYCLES_OSL=$INST/osl"
PRINT " $_1"
@@ -3757,13 +3757,13 @@ print_info() {
_2="-D OPENSUBDIV_ROOT_DIR=$INST/osd"
PRINT " $_1"
PRINT " $_2"
- _buildargs="$_buildargs $_1 $_2"
+ _buildargs="$_buildargs -U *OPENSUBDIV* $_1 $_2"
fi
if [ "$WITH_OPENCOLLADA" = true ]; then
_1="-D WITH_OPENCOLLADA=ON"
PRINT " $_1"
- _buildargs="$_buildargs $_1"
+ _buildargs="$_buildargs -U *COLLADA* $_1"
fi
if [ "$FFMPEG_SKIP" = false ]; then
@@ -3771,7 +3771,7 @@ print_info() {
_2="-D FFMPEG_LIBRARIES='avformat;avcodec;avutil;avdevice;swscale;rt;`print_info_ffmpeglink`'"
PRINT " $_1"
PRINT " $_2"
- _buildargs="$_buildargs $_1 $_2"
+ _buildargs="$_buildargs -U *FFMPEG* $_1 $_2"
if [ -d $INST/ffmpeg ]; then
_1="-D FFMPEG=$INST/ffmpeg"
PRINT " $_1"