Skip to content

Commit

Permalink
[cmake] Update tetgen.
Browse files Browse the repository at this point in the history
Install functionality is skipped on conda builds.
  • Loading branch information
bilke committed Jun 27, 2024
1 parent 9a5c787 commit 427416f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,13 @@ if(GUIX_BUILD)
find_program(TETGEN_EXECUTABLE tetgen REQUIRED)
install(PROGRAMS ${TETGEN_EXECUTABLE} DESTINATION bin)
else()
if(CONDA_BUILD)
set(_tegen_options OPTIONS "TETGEN_SKIP_INSTALL ON")
endif()
CPMAddPackage(
NAME tetgen GITHUB_REPOSITORY ufz/tetgen
GIT_TAG 213548f5bca1ec00269603703f0fec1272181587 SYSTEM TRUE
GIT_TAG 3f75905af7407ab0de1cd1dc92a1b77d6bdacbb7 SYSTEM TRUE
${_tegen_options}
)
if(tetgen_ADDED AND NOT CONDA_BUILD)
install(PROGRAMS $<TARGET_FILE:tetgen> DESTINATION bin)
Expand Down

0 comments on commit 427416f

Please sign in to comment.