mirror of https://github.com/CGAL/cgal
rename the macro as well
This commit is contained in:
parent
bcf31d6ed6
commit
0a84c4a131
|
|
@ -31,7 +31,7 @@ if(TARGET CGAL::Eigen3_support)
|
|||
message(STATUS "SuiteSparse_LIBS: ${SuiteSparse_LIBRARIES}")
|
||||
message(STATUS "Orbifold Tutte Embeddings will use UmfPackLU")
|
||||
add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY)
|
||||
add_definitions(-DCGAL_SMP_USE_SPARSESUITE_SOLVERS)
|
||||
add_definitions(-DCGAL_SMP_USE_SUITESPARSE_SOLVERS)
|
||||
else()
|
||||
message(STATUS "NOTICE: The example `orbifold.cpp` will be compiled without the SuiteSparse library and UmfPack. Try setting SuiteSparse_UMF_INCLUDE_DIR and at least one of SuiteSparse_UMFPACK_LIBRARY_RELEASE and SuiteSparse_UMFPACK_LIBRARY_DEBUG to you UMFPACK installation.")
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#if defined(CGAL_EIGEN3_ENABLED)
|
||||
#include <CGAL/Eigen_solver_traits.h>
|
||||
#ifdef CGAL_SMP_USE_SPARSESUITE_SOLVERS
|
||||
#ifdef CGAL_SMP_USE_SUITESPARSE_SOLVERS
|
||||
#include <Eigen/UmfPackSupport>
|
||||
#endif
|
||||
#endif
|
||||
|
|
@ -183,7 +183,7 @@ public:
|
|||
typedef typename Default::Get<
|
||||
SolverTraits_,
|
||||
#if defined(CGAL_EIGEN3_ENABLED)
|
||||
#ifdef CGAL_SMP_USE_SPARSESUITE_SOLVERS
|
||||
#ifdef CGAL_SMP_USE_SUITESPARSE_SOLVERS
|
||||
CGAL::Eigen_solver_traits<
|
||||
Eigen::UmfPackLU<Eigen_sparse_matrix<double>::EigenType> >
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#if defined(CGAL_EIGEN3_ENABLED)
|
||||
#include <CGAL/Eigen_solver_traits.h>
|
||||
#ifdef CGAL_SMP_USE_SPARSESUITE_SOLVERS
|
||||
#ifdef CGAL_SMP_USE_SUITESPARSE_SOLVERS
|
||||
#include <Eigen/UmfPackSupport>
|
||||
#endif
|
||||
#endif
|
||||
|
|
@ -391,7 +391,7 @@ public:
|
|||
typedef typename Default::Get<
|
||||
SolverTraits_,
|
||||
#if defined(CGAL_EIGEN3_ENABLED)
|
||||
#ifdef CGAL_SMP_USE_SPARSESUITE_SOLVERS
|
||||
#ifdef CGAL_SMP_USE_SUITESPARSE_SOLVERS
|
||||
CGAL::Eigen_solver_traits<
|
||||
Eigen::UmfPackLU<Eigen_sparse_matrix<double>::EigenType> >
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in New Issue