download_and_compile.sh: allow setting SG_CMAKEARGS and FG_CMAKEARGS from the environment
This allows one to add custom CMake options for the SG and/or FG build(s) without modifying download_and_compile.sh.
This commit is contained in:
parent
3344c21c71
commit
82f3c85343
@ -384,8 +384,6 @@ REPO_DEFAULT_USERNAME=''
|
|||||||
JOPTION=""
|
JOPTION=""
|
||||||
OOPTION=""
|
OOPTION=""
|
||||||
BUILD_TYPE="RelWithDebInfo"
|
BUILD_TYPE="RelWithDebInfo"
|
||||||
SG_CMAKEARGS=""
|
|
||||||
FG_CMAKEARGS=""
|
|
||||||
|
|
||||||
declare -a UNMATCHED_OPTIONAL_PKG_ALTERNATIVES
|
declare -a UNMATCHED_OPTIONAL_PKG_ALTERNATIVES
|
||||||
|
|
||||||
@ -583,6 +581,8 @@ _log "DOWNLOAD=$DOWNLOAD"
|
|||||||
_log "JOPTION=$JOPTION"
|
_log "JOPTION=$JOPTION"
|
||||||
_log "OOPTION=$OOPTION"
|
_log "OOPTION=$OOPTION"
|
||||||
_log "BUILD_TYPE=$BUILD_TYPE"
|
_log "BUILD_TYPE=$BUILD_TYPE"
|
||||||
|
_log "SG_CMAKEARGS=$SG_CMAKEARGS"
|
||||||
|
_log "FG_CMAKEARGS=$FG_CMAKEARGS"
|
||||||
_log "DIRECTORY=$CBD"
|
_log "DIRECTORY=$CBD"
|
||||||
_logSep
|
_logSep
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user