Skip to content
Snippets Groups Projects
Commit 38f84e50 authored by Lars Bilke's avatar Lars Bilke
Browse files

[T] gmsh is required at runtime for VerticalSliceFromLayers.

Test runs on envinf1.
parent 940e218c
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@ set(TOOLS
)
if(OGS_BUILD_GUI)
# Utility requires that GUI is build because it uses Qt-based functionality
# Also requires gmsh at runtime
list(APPEND TOOLS VerticalSliceFromLayers)
endif()
......
......@@ -478,8 +478,8 @@ AddTest(
SmallTest_Layer3.vtu
)
# Utility requires that GUI is build because it uses Qt-based functionality
if(TARGET VerticalSliceFromLayers)
# Tests requires gmsh
if(TARGET VerticalSliceFromLayers AND GMSH)
AddTest(
NAME VerticalSliceFromLayers_Test
PATH MeshGeoToolsLib/Ammer
......
......@@ -56,6 +56,8 @@ find_program(MODULE_CMD lmod PATHS /software/lmod/lmod/libexec)
find_program(SNAKEMAKE snakemake HINTS ${LOCAL_VIRTUALENV_BIN_DIRS})
find_program(PARSL parsl-visualize HINTS ${LOCAL_VIRTUALENV_BIN_DIRS})
find_program(GMSH gmsh)
######################
### Find libraries ###
######################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment