Commit 6385f17c by Christophe Geuzaine

fix search path

parent 4894c2cc
Pipeline #732 passed with stage
in 35 minutes 24 seconds
......@@ -347,8 +347,7 @@ endif(ENABLE_MPI)
if(ENABLE_GMSH)
find_library(GMSH_LIB gmsh PATH_SUFFIXES lib)
# This will be changed once we switch to the official Gmsh API
find_path(GMSH_INC "gmsh/Gmsh.h" PATH_SUFFIXES include)
find_path(GMSH_INC "gmsh/GmshGlobal.h" PATH_SUFFIXES include)
if(GMSH_LIB AND GMSH_INC)
list(APPEND EXTERNAL_LIBRARIES ${GMSH_LIB})
list(APPEND EXTERNAL_INCLUDES ${GMSH_INC})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment