Skip to content

Commit

Permalink
Fixed register and geometry central fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
rjc8237 committed Oct 4, 2024
1 parent ebd220b commit 1830b1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
cmake_minimum_required(VERSION 3.25)
cmake_minimum_required(VERSION 3.30)
project(PennerOptimization)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_compile_options(-fPIC)
add_compile_options(-Wno-register)
set(DIR_EXT "${CMAKE_CURRENT_SOURCE_DIR}/ext")

# Set options if top level
Expand Down Expand Up @@ -34,8 +35,6 @@ endif()

list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

include(eigen)

# Optionally get multiprecision libraries
if(USE_MULTIPRECISION)
# Turning this on activates mpfr in the conformal code
Expand Down
1 change: 1 addition & 0 deletions cmake/geometry-central.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ FetchContent_Declare(
geometry-central
SYSTEM
GIT_REPOSITORY https://github.com/nmwsharp/geometry-central.git
GIT_TAG 03f198748d263cea3faa040c8a399d59c38d67bc
)
FetchContent_MakeAvailable(geometry-central)
1 change: 0 additions & 1 deletion src/util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ add_library(PennerUtilLib
)
target_include_directories(PennerUtilLib PUBLIC ../../include/util)
target_link_libraries(PennerUtilLib PUBLIC
Eigen3::Eigen
igl::core
igl::predicates
spdlog::spdlog
Expand Down

0 comments on commit 1830b1d

Please sign in to comment.