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()
|
||||
{
|
||||
while [ -n "$1" ]
|
||||
for var in $*
|
||||
do
|
||||
CMAKE_VARIABLES="$CMAKE_VARIABLES -D$1"
|
||||
shift
|
||||
CMAKE_VARIABLES="$CMAKE_VARIABLES -D$var"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Verbose makefiles
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user