Skip to content
Snippets Groups Projects
Commit 7110aa82 authored by mark's avatar mark Committed by Mark OLESEN
Browse files

STYLE: propogate WM_CC for CMake (fixes #226)

- reported by Bruno
parent b5231f2e
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,8 @@ case "$ParaView_VERSION" in
if canBuildPlugin
then
(
# C++ compiler for CMake
# 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
......
......@@ -47,7 +47,8 @@ case "$ParaView_VERSION" in
if canBuildPlugin
then
(
# C++ compiler for CMake
# 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
......
......@@ -8,7 +8,8 @@ targetType=libso
# Source the wmake functions
. $WM_DIR/scripts/wmakeFunctions
# C++ compiler for CMake
# ensure CMake gets the correct C/C++ compilers
[ -n "$WM_CC" ] && export CC="$WM_CC"
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
set -x
......
......@@ -8,7 +8,8 @@ targetType=libso
# Source the wmake functions
. $WM_DIR/scripts/wmakeFunctions
# C++ compiler for CMake
# ensure CMake gets the correct C/C++ compilers
[ -n "$WM_CC" ] && export CC="$WM_CC"
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
set -x
......
......@@ -18,9 +18,9 @@ echo
if [ -d "$VTK_DIR" -o -d "$ParaView_DIR" ]
then
# 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"
[ -n "$WM_CC" ] && export CC="$WM_CC"
if type cmake > /dev/null 2>&1
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment