mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
makeCGAL: Updated to handle older operating systems
which name the 64bit library directory lib rather than lib64 Resolves bug report https://bugs.openfoam.org/view.php?id=2657
This commit is contained in:
4
Allwmake
4
Allwmake
@ -3,7 +3,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration |
|
# \\ / O peration |
|
||||||
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -355,7 +355,7 @@ then
|
|||||||
if [ -r $CGAL_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH/libCGAL.so ]
|
if [ -r $CGAL_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH/libCGAL.so ]
|
||||||
then
|
then
|
||||||
echo " CGAL headers in $CGAL_ARCH_PATH/include"
|
echo " CGAL headers in $CGAL_ARCH_PATH/include"
|
||||||
echo " CGAL libs in $CGAL_ARCH_PATH/lib"
|
echo " CGAL libs in $CGAL_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH"
|
||||||
else
|
else
|
||||||
./makeCGAL
|
./makeCGAL
|
||||||
fi
|
fi
|
||||||
|
|||||||
1
makeCGAL
1
makeCGAL
@ -274,6 +274,7 @@ CMAKE_OPTIONS
|
|||||||
-DCMAKE_INSTALL_PREFIX=$CGAL_ARCH_PATH \
|
-DCMAKE_INSTALL_PREFIX=$CGAL_ARCH_PATH \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DWITH_CGAL_Qt5=OFF \
|
-DWITH_CGAL_Qt5=OFF \
|
||||||
|
-DCGAL_INSTALL_LIB_DIR=lib$WM_COMPILER_LIB_ARCH \
|
||||||
$configBoost $configGmpMpfr \
|
$configBoost $configGmpMpfr \
|
||||||
$CGAL_SOURCE_DIR \
|
$CGAL_SOURCE_DIR \
|
||||||
&& make -j $WM_NCOMPPROCS \
|
&& make -j $WM_NCOMPPROCS \
|
||||||
|
|||||||
Reference in New Issue
Block a user