You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a cmake project which fetches spdlog from git using FetchContent. This effectively defines a spdlog::spdlog target since it includes spdlog CMakeLists into my project.
Then I also fetch spdlog_setup. This step fails because spdlog_setup assumes we are going to use spdlog from deps/spdlog or from system (via find_package(spdlog REQUIRED). Since there is no package in system, it fails.
If spdlog::spdlog target is already defined, it shouldn't call find_package(spdlog REQUIRED)
The text was updated successfully, but these errors were encountered:
I have a cmake project which fetches spdlog from git using FetchContent. This effectively defines a spdlog::spdlog target since it includes spdlog CMakeLists into my project.
Then I also fetch spdlog_setup. This step fails because spdlog_setup assumes we are going to use spdlog from deps/spdlog or from system (via
find_package(spdlog REQUIRED)
. Since there is no package in system, it fails.If spdlog::spdlog target is already defined, it shouldn't call find_package(spdlog REQUIRED)
The text was updated successfully, but these errors were encountered: