Skip to content

Commit

Permalink
Find the include dir for libsupermesh
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Nov 12, 2024
1 parent a5a41cc commit 258eca5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions firedrake/supermeshing.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ def likely(cell_A):

supermesh_dir, supermesh_so = supermesh_location()
if supermesh_dir:
includes += [f"-I{supermesh_dir}/include"]
libs += [f"-L{supermesh_dir!s}", f"-l:{supermesh_so.name!s}", f"-Wl,-rpath,{supermesh_dir!s}"]
else:
libs += ["-lsupermesh"]
Expand Down

0 comments on commit 258eca5

Please sign in to comment.