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

Find package fail when installed using submodule spdlog #23

Open
guangie88 opened this issue Jun 7, 2018 · 0 comments
Open

Find package fail when installed using submodule spdlog #23

guangie88 opened this issue Jun 7, 2018 · 0 comments
Labels

Comments

@guangie88
Copy link
Owner

Somewhat related PR and issue: #21, #22

If spdlog_setup was installed with its spdlog found using find_package (i.e. no submodule spdlog), creating a dummy set-up to find_package(spdlog_setup) works perfectly after #22.

However using submodule causes the spdlog::spdlog import to fail using the dummy set-up:

CMake Error at CMakeLists.txt:5 (find_package):
  Found package configuration file:

    /usr/local/lib/cmake/spdlog_setup/spdlog_setup-config.cmake

  but it set spdlog_setup_FOUND to FALSE so package "spdlog_setup" is
  considered to be NOT FOUND.  Reason given by package:

  The following imported targets are referenced, but are missing:
  spdlog::spdlog
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

1 participant