mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
On 64-bit systems, the system installations of boost, cgal are under
lib64/. The behaviour for a ThirdParty build is mostly lib/ but this
can also be changing.
Boost 1_62_0 and older build into 'lib/'.
CGAL-4.9 builds into 'lib64/', older versions into 'lib/'.
Future-proof things by using lib$WM_COMPILER_LIB_ARCH for boost and
cgal build rules, and forcing these as build targets in the ThirdParty
makeCGAL as well.
--
STYLE: check for boost/version.hpp, CGAL/version.h instead their directories
14 lines
406 B
Plaintext
14 lines
406 B
Plaintext
CGAL_INC = \
|
|
-I$(CGAL_ARCH_PATH)/include \
|
|
-I$(MPFR_ARCH_PATH)/include \
|
|
-I$(GMP_ARCH_PATH)/include \
|
|
-I$(BOOST_ARCH_PATH)/include \
|
|
-I/usr/include
|
|
|
|
CGAL_LIBS = \
|
|
-L$(MPFR_ARCH_PATH)/lib$(WM_COMPILER_LIB_ARCH) \
|
|
-L$(GMP_ARCH_PATH)/lib$(WM_COMPILER_LIB_ARCH) \
|
|
-L$(BOOST_ARCH_PATH)/lib$(WM_COMPILER_LIB_ARCH) \
|
|
-L$(CGAL_ARCH_PATH)/lib$(WM_COMPILER_LIB_ARCH) \
|
|
-lCGAL
|