mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
ParaViewFunctions: corrected addCMakeVariable for multiple arguments
This commit is contained in:
@ -172,14 +172,12 @@ checkVersion()
|
|||||||
#
|
#
|
||||||
addCMakeVariable()
|
addCMakeVariable()
|
||||||
{
|
{
|
||||||
while [ -n "$1" ]
|
for var in $*
|
||||||
do
|
do
|
||||||
CMAKE_VARIABLES="$CMAKE_VARIABLES -D$1"
|
CMAKE_VARIABLES="$CMAKE_VARIABLES -D$var"
|
||||||
shift
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Verbose makefiles
|
# Verbose makefiles
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user