Navigation Menu

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

Explicitly find and link with fmt. #1768

Closed
wants to merge 1 commit into from
Closed

Explicitly find and link with fmt. #1768

wants to merge 1 commit into from

Conversation

josephwinston
Copy link
Contributor

I used the link library instead of the form for the header only.

@ihnorton
Copy link
Member

ihnorton commented Aug 13, 2020

Hi @josephwinston, thanks for the contribution. Could you please clarify the issue that this PR resolves?

I suspect this may be fixing the situation of

  • spdlog is installed locally
  • with fmt library built separately

If that is the case, rather than adding this in tiledb/CMakeLists.txt, we likely need to improve the logic in FindSpdlog.cmake to

  • check for the correct transitive exports (depending on how the library was built)
  • find/add fmt there if it is missing.

That way the linkage logic stays contained to the target that needs it, which should resolve the continuous integration failures here (spdlog is not available in our CI images, so it builds from source and automatically links fmt).

@josephwinston
Copy link
Contributor Author

josephwinston commented Aug 13, 2020 via email

@josephwinston
Copy link
Contributor Author

josephwinston commented Aug 14, 2020 via email

@joe-maley
Copy link
Contributor

Closing in favor of #1770

@joe-maley joe-maley closed this Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants