A first step towards porting these: Paraview and Tecplot. Not complete
--HG-- branch : bgschaidMac
This commit is contained in:
parent
7b17fa2094
commit
871948d1aa
3 changed files with 8 additions and 2 deletions
|
@ -648,7 +648,8 @@
|
||||||
defined LINUXI64 || \
|
defined LINUXI64 || \
|
||||||
defined LINUX64 || \
|
defined LINUX64 || \
|
||||||
defined MAC64 || \
|
defined MAC64 || \
|
||||||
defined COMPAQALPHA
|
defined COMPAQALPHA || \
|
||||||
|
defined darwin
|
||||||
#define LONGIS64
|
#define LONGIS64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -373,7 +373,7 @@
|
||||||
#define SYSV
|
#define SYSV
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined DECX || defined LINUX || defined IBMRS6000X || defined COMPAQX || defined DARWIN
|
#if defined DECX || defined LINUX || defined IBMRS6000X || defined COMPAQX || defined DARWIN || defined darwin
|
||||||
#define UNIXX
|
#define UNIXX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,11 @@ then
|
||||||
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
mkdir -p Make/$WM_OPTIONS > /dev/null 2>&1
|
||||||
cd Make/$WM_OPTIONS
|
cd Make/$WM_OPTIONS
|
||||||
cmake ../..
|
cmake ../..
|
||||||
|
if [ $WM_ARCH_BASE == "darwin" ]
|
||||||
|
then
|
||||||
|
sed -i bak -e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles/PV3FoamReader.dir/link.txt
|
||||||
|
sed -i bak -e 's/-dynamiclib /& -undefined dynamic_lookup /' CMakeFiles/PV3FoamReader_SM.dir/link.txt
|
||||||
|
fi
|
||||||
make
|
make
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
|
|
Reference in a new issue