Skip to content

Commit

Permalink
Merge pull request #14550 from tamiko/fix_gmsh_configure
Browse files Browse the repository at this point in the history
CMake: Bugfix: only export DEAL_II_GMSH_WITH_API if gmsh is configured
  • Loading branch information
drwells committed Dec 9, 2022
2 parents e88cd7e + 7ea5833 commit c70f6e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/configure/configure_50_gmsh.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
# Configuration for the gmsh executable:
#

macro(feature_gmsh_configure_external)
set(DEAL_II_GMSH_WITH_API ${GMSH_WITH_API})
endmacro()

configure_feature(GMSH)
set(DEAL_II_GMSH_WITH_API ${GMSH_WITH_API})

0 comments on commit c70f6e9

Please sign in to comment.