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:
Henry Weller
2016-09-04 21:05:20 +01:00
parent 8f2b34dc06
commit 49bce39429
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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