Skip to content

Commit

Permalink
fix linux compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
David Jourdan committed Aug 27, 2024
1 parent c54f610 commit 6f70927
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
cmake_minimum_required(VERSION 3.22)

project(shrink_morph)

# c++ flags
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

### Configuration
set(SHRINK_MORPH_ROOT "${CMAKE_CURRENT_LIST_DIR}")
Expand Down
5 changes: 3 additions & 2 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ FetchContent_Declare(TinyAD
SOURCE_DIR "${SHRINK_MORPH_ROOT}/deps/TinyAD-src"
)
# geometry-central
FetchContent_Declare(geometry-central EXCLUDE_FROM_ALL
URL https://github.com/DavidJourdan/geometry-central/releases/download/v0.1.1/src.zip
FetchContent_Declare(geometry-central EXCLUDE_FROM_ALL
GIT_REPOSITORY https://github.com/nmwsharp/geometry-central.git
GIT_TAG 1e9920166112e9c438883d12f3caa04a32c83f42
SOURCE_DIR "${SHRINK_MORPH_ROOT}/deps/geometry-central-src"
BINARY_DIR "${SHRINK_MORPH_ROOT}/deps/geometry-central-build"
)
Expand Down

0 comments on commit 6f70927

Please sign in to comment.