Skip to content

Commit 1830b1d

Browse files
committed
Fixed register and geometry central fetch
1 parent ebd220b commit 1830b1d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
cmake_minimum_required(VERSION 3.25)
1+
cmake_minimum_required(VERSION 3.30)
22
project(PennerOptimization)
33

44
set(CMAKE_CXX_STANDARD 17)
55
set(CMAKE_CXX_STANDARD_REQUIRED ON)
66

77
add_compile_options(-fPIC)
8+
add_compile_options(-Wno-register)
89
set(DIR_EXT "${CMAKE_CURRENT_SOURCE_DIR}/ext")
910

1011
# Set options if top level
@@ -34,8 +35,6 @@ endif()
3435

3536
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
3637

37-
include(eigen)
38-
3938
# Optionally get multiprecision libraries
4039
if(USE_MULTIPRECISION)
4140
# Turning this on activates mpfr in the conformal code

cmake/geometry-central.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ FetchContent_Declare(
77
geometry-central
88
SYSTEM
99
GIT_REPOSITORY https://github.com/nmwsharp/geometry-central.git
10+
GIT_TAG 03f198748d263cea3faa040c8a399d59c38d67bc
1011
)
1112
FetchContent_MakeAvailable(geometry-central)

src/util/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ add_library(PennerUtilLib
1414
)
1515
target_include_directories(PennerUtilLib PUBLIC ../../include/util)
1616
target_link_libraries(PennerUtilLib PUBLIC
17-
Eigen3::Eigen
1817
igl::core
1918
igl::predicates
2019
spdlog::spdlog

0 commit comments

Comments
 (0)