diff --git a/cmake/.DS_Store b/cmake/.DS_Store new file mode 100644 index 0000000..f07c16e Binary files /dev/null and b/cmake/.DS_Store differ diff --git a/cmake/geometry-central.cmake b/cmake/geometry-central.cmake new file mode 100644 index 0000000..24dc667 --- /dev/null +++ b/cmake/geometry-central.cmake @@ -0,0 +1,14 @@ +if (TARGET geometry-central) + return() +endif() + +include(FetchContent) + +message(STATUS "Fetching geometry-central") + +FetchContent_Declare( + geometry-central + GIT_REPOSITORY https://github.com/nmwsharp/geometry-central.git + GIT_SHALLOW TRUE + ) +FetchContent_MakeAvailable(geometry-central) diff --git a/cmake/polyscope.cmake b/cmake/polyscope.cmake new file mode 100644 index 0000000..deecaa9 --- /dev/null +++ b/cmake/polyscope.cmake @@ -0,0 +1,15 @@ +if (TARGET polyscope) + return() +endif() + +include(FetchContent) + +message(STATUS "Fetching polyscope") + +FetchContent_Declare( + polyscope + GIT_REPOSITORY https://github.com/nmwsharp/polyscope.git + GIT_TAG v1.2.0 + GIT_SHALLOW TRUE + ) +FetchContent_MakeAvailable(polyscope)