From 427416fb5588ebea52676a1e39c20bbe992039dc Mon Sep 17 00:00:00 2001 From: Lars Bilke Date: Wed, 26 Jun 2024 18:13:49 +0200 Subject: [PATCH] [cmake] Update tetgen. Install functionality is skipped on conda builds. --- scripts/cmake/Dependencies.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/cmake/Dependencies.cmake b/scripts/cmake/Dependencies.cmake index 281dc4a29c5..09761b4decb 100644 --- a/scripts/cmake/Dependencies.cmake +++ b/scripts/cmake/Dependencies.cmake @@ -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 $ DESTINATION bin)