ENH: fix env vars
This commit is contained in:
parent
7b654d63ec
commit
059320a577
|
@ -13,20 +13,19 @@ check_exit_value()
|
|||
}
|
||||
|
||||
if [ ! -z "@CC@" ]; then
|
||||
set CC="@CC@"
|
||||
export CC="@CC@"
|
||||
check_exit_value $? "set CC compiler env var" || exit 1
|
||||
fi
|
||||
|
||||
if [ ! -z "@CXX@" ]; then
|
||||
set CXX="@CXX@"
|
||||
export CXX="@CXX@"
|
||||
check_exit_value $? "set CC compiler env var" || exit 1
|
||||
fi
|
||||
if [ ! -z "@LDFLAGS@" ]; then
|
||||
set LDFLAGS="@LDFLAGS@"
|
||||
export LDFLAGS="@LDFLAGS@"
|
||||
check_exit_value $? "set CC compiler env var" || exit 1
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -z "@USER_MAKE_RULE_FILE_CONTENTS@" ]; then
|
||||
echo "@USER_MAKE_RULE_FILE_CONTENTS@" > "@USER_MAKE_RULE_FILE@"
|
||||
check_exit_value $? "Create User Rule file" || exit 1
|
||||
|
|
|
@ -3,6 +3,8 @@ set(CVS_COMMAND /vol/local/bin/cvs)
|
|||
set(HOST "sshserv.centers.ihost.com" )
|
||||
set(EXTRA_HOP "rsh v60n177" )
|
||||
set(MAKE "make")
|
||||
set(CC "xlc")
|
||||
set(CXX "xlC")
|
||||
set(INITIAL_CACHE "CMAKE_BUILD_TYPE:STRING=Release")
|
||||
get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
include(${path}/release_cmake.cmake)
|
||||
|
|
Loading…
Reference in New Issue