Skip to content

Commit 6a8aae8

Browse files
committed
Fixed mpfr support
1 parent e098ac0 commit 6a8aae8

File tree

14 files changed

+302460
-1330
lines changed

14 files changed

+302460
-1330
lines changed

CMakeLists.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,14 @@ if (PROJECT_IS_TOP_LEVEL)
1313
# Options for the project
1414
option(USE_PYBIND "Generate pybindings" ON)
1515
option(USE_MULTIPRECISION "Use high precision floating point" OFF)
16-
option(ENABLE_VISUALIZATION "Generate viewers for visualization" OFF)
16+
option(ENABLE_VISUALIZATION "Generate viewers for visualization" ON)
1717
option(CHECK_VALIDITY "Check validity pre and post conditions" ON)
1818
option(BUILD_CURVATURE_METRIC_TESTS "Build tests" ON)
19-
option(USE_SUITESPARSE "Use suite sparse methods for matrix inversion" ON)
19+
option(USE_SUITESPARSE "Use suite sparse methods for matrix inversion" OFF)
2020

2121
# Set libigl options
2222
option(LIBIGL_PREDICATES "Use Predicates" ON)
2323
option(RENDER_TEXTURE "Render results" OFF)
24-
option(LIBIGL_OPENGL "Use OpenGL" OFF)
25-
option(LIBIGL_GLFW "Use GLFW" OFF)
26-
option(LIBIGL_PNG "Use PNG" OFF)
27-
option(LIBIGL_EMBREE "Use EMBREE" OFF)
2824
set ( SUITESPARSE_ENABLE_PROJECTS "suitesparse_config;cholmod;spqr" )
2925
endif()
3026

@@ -46,6 +42,13 @@ if(CHECK_VALIDITY)
4642
add_compile_definitions(CHECK_VALIDITY)
4743
endif()
4844

45+
if (RENDER_TEXTURE)
46+
option(LIBIGL_OPENGL "Use OpenGL" ON)
47+
option(LIBIGL_GLFW "Use GLFW" ON)
48+
option(LIBIGL_PNG "Use PNG" ON)
49+
option(LIBIGL_EMBREE "Use EMBREE" ON)
50+
endif()
51+
4952
# # Add highfive library
5053
find_package(HDF5 REQUIRED)
5154
include(highfive)

0 commit comments

Comments
 (0)