mirror of https://github.com/CGAL/cgal
Merge pull request #3331 from sloriot/Installation-SparseSuite_UMFPACK
UMFPACK is needed by Orbifold parametrization
This commit is contained in:
commit
9218e9039c
|
|
@ -41,10 +41,14 @@ if ( CGAL_FOUND )
|
||||||
endif(NOT SuiteSparse_FOUND)
|
endif(NOT SuiteSparse_FOUND)
|
||||||
|
|
||||||
if(SuiteSparse_FOUND)
|
if(SuiteSparse_FOUND)
|
||||||
message(STATUS "SuiteSparse_LIBS: ${SuiteSparse_LIBRARIES}")
|
if (SuiteSparse_UMFPACK_FOUND)
|
||||||
message(STATUS "Orbifold Tutte Embeddings will use UmfPackLU")
|
message(STATUS "SuiteSparse_LIBS: ${SuiteSparse_LIBRARIES}")
|
||||||
add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY)
|
message(STATUS "Orbifold Tutte Embeddings will use UmfPackLU")
|
||||||
add_definitions(-DCGAL_SMP_USE_SPARSESUITE_SOLVERS)
|
add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY)
|
||||||
|
add_definitions(-DCGAL_SMP_USE_SPARSESUITE_SOLVERS)
|
||||||
|
else()
|
||||||
|
message(STATUS "NOTICE: The example `orbifold.cpp` will be compiled without the Sparsesuite 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()
|
||||||
else(SuiteSparse_FOUND)
|
else(SuiteSparse_FOUND)
|
||||||
message(STATUS "NOTICE: The example `orbifold.cpp` will be compiled without the Sparsesuite library.")
|
message(STATUS "NOTICE: The example `orbifold.cpp` will be compiled without the Sparsesuite library.")
|
||||||
endif(SuiteSparse_FOUND)
|
endif(SuiteSparse_FOUND)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue