mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user