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

FMT warning when not found #520

Closed
Kikadass opened this issue Aug 7, 2023 · 1 comment
Closed

FMT warning when not found #520

Kikadass opened this issue Aug 7, 2023 · 1 comment
Labels

Comments

@Kikadass
Copy link

Kikadass commented Aug 7, 2023

Describe the bug
When linking the library and fmt is not installed a warning appears:
image

To Reproduce
[Steps to reproduce the behavior:]

  1. Link the library with cmake.

In my case I am adding sophus as a third party library with FetchContent:

include(FetchContent)
FetchContent_Declare(
  sophus_install
  URL https://github.com/strasdat/Sophus/archive/refs/tags/1.22.10.tar.gz
)
FetchContent_MakeAvailable(sophus_install)

Expected behavior
fmt is not required, therefor, it should find package in QUIET mode.
find_package(fmt QUIET)

Sophus version: 1.22.10

@strasdat
Copy link
Owner

This should be fixed by #538, since it removes the fmt dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants