download_and_compile.sh: create openscenegraph dir only when OSG build is enabled
Dont create the 'openscenegraph' directory when the OSG build is not selected (request from user ctesc356 of the French forum).
This commit is contained in:
parent
caaad41e26
commit
1f27f8e39a
@ -790,13 +790,13 @@ fi
|
||||
OSG_INSTALL_DIR=openscenegraph
|
||||
INSTALL_DIR_OSG=$INSTALL_DIR/$OSG_INSTALL_DIR
|
||||
cd "$CBD"
|
||||
mkdir -p "openscenegraph"
|
||||
if _elementIn "OSG" "${WHATTOBUILD[@]}"; then
|
||||
_printLog "****************************************"
|
||||
_printLog "**************** OSG *******************"
|
||||
_printLog "****************************************"
|
||||
|
||||
cd "$CBD"/openscenegraph
|
||||
mkdir -p "openscenegraph"
|
||||
cd "openscenegraph"
|
||||
_gitDownload OSG
|
||||
_gitUpdate OpenSceneGraph-3.4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user