mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: remove commented Make/options item (#2668)
COMP: update include for CGAL-5.5 (#2665) old: Robust_circumcenter_filtered_traits_3 new: Robust_weighted_circumcenter_filtered_traits_3 COMP: adjust CGAL rule for OSX (#2664) - since CGAL is now header-only, the previous OSX-specific rules have become redundant
This commit is contained in:
@ -30,8 +30,8 @@ Description
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef CGALTriangulation3DKernel_H
|
||||
#define CGALTriangulation3DKernel_H
|
||||
#ifndef Foam_CGALTriangulation3DKernel_H
|
||||
#define Foam_CGALTriangulation3DKernel_H
|
||||
|
||||
// Silence boost bind deprecation warnings (before CGAL-5.2.1)
|
||||
#include "CGAL/version.h"
|
||||
@ -54,9 +54,19 @@ Description
|
||||
// #include "CGAL/Robust_circumcenter_traits_3.h"
|
||||
// typedef CGAL::Robust_circumcenter_traits_3<baseK> K;
|
||||
|
||||
#if defined(CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1050500000)
|
||||
// Prior to CGAL-5.5
|
||||
|
||||
#include "CGAL/Robust_circumcenter_filtered_traits_3.h"
|
||||
typedef CGAL::Robust_circumcenter_filtered_traits_3<baseK> K;
|
||||
|
||||
#else
|
||||
|
||||
#include "CGAL/Robust_weighted_circumcenter_filtered_traits_3.h"
|
||||
typedef CGAL::Robust_weighted_circumcenter_filtered_traits_3<baseK> K;
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
// Very robust but expensive kernel
|
||||
|
||||
@ -4,7 +4,6 @@ EXE_INC = \
|
||||
-Wno-old-style-cast \
|
||||
$(COMP_FLAGS) \
|
||||
${CGAL_INC} \
|
||||
-DCGAL_HEADER_ONLY \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||
-I$(LIB_SRC)/surfMesh/lnInclude \
|
||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||
@ -12,7 +11,6 @@ EXE_INC = \
|
||||
|
||||
|
||||
EXE_LIBS = \
|
||||
/* ${CGAL_LIBS} */ \
|
||||
-lfiniteVolume \
|
||||
-lsurfMesh \
|
||||
-lmeshTools \
|
||||
|
||||
Reference in New Issue
Block a user