Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.4] Take over #14540 and #14544 #14545

Closed
wants to merge 3 commits into from

Conversation

tamiko
Copy link
Member

@tamiko tamiko commented Dec 8, 2022

32c0237 (Matthias Maier, 14 minutes ago)
harden DEAL_II_GMSH_WITH_API ifdef

df39dee (Matthias Maier, 25 minutes ago)
CMake: Bugfix: only export DEAL_II_GMSH_WITH_API if gmsh is configured

e58c2eb (Matthias Maier, 25 hours ago)
CMake: Ensure we use "-pthread" instead of "-lpthread" for thread support

If the gmsh library is installed but the gmsh executable is missing we
currently disable gmsh support. This implies that we will not link
against the gmsh library.

Unfortunately, on first configure pass the variable `GMSH_WITH_API` is
still populated with a `TRUE` value and the `DEAL_II_GMSH_WITH_API`
variable gets set by accident and final linkage fails.

This issue is hard to spot because a second invocation of cmake will
cure the configure mistake (and the debian/ubuntu packages do not run
any autodetection).
@tamiko
Copy link
Member Author

tamiko commented Dec 8, 2022

/rebuild

@tamiko tamiko closed this Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant