PV*Readers/Allwmake: set CXX and CC if required
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2233
This commit is contained in:
parent
77152f3f10
commit
3eacfb7621
2 changed files with 4 additions and 2 deletions
|
|
@ -14,7 +14,8 @@ case "$ParaView_VERSION" in
|
|||
exit 1
|
||||
}
|
||||
|
||||
# ensure CMake gets the correct C++ compiler
|
||||
# ensure CMake gets the correct C/C++ compilers
|
||||
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||
|
||||
wmake $targetType vtkPV3Readers
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ case "$ParaView_VERSION" in
|
|||
exit 1
|
||||
}
|
||||
|
||||
# ensure CMake gets the correct C++ compiler
|
||||
# ensure CMake gets the correct C/C++ compilers
|
||||
[ -n "$WM_CC" ] && export CC="$WM_CC"
|
||||
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
|
||||
|
||||
wmake $targetType vtkPVReaders
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue