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

Ensure exported package is relocatable #2029

Merged
merged 1 commit into from
Aug 4, 2021

Commits on Aug 4, 2021

  1. Ensure exported package is relocatable

    As per CMake's Importing and Exporting Guide[1],
    configure_package_config_file() should be used for configuring the
    package configuration file, not the regular configure_file() function.
    
    This ensures that a spdlog package built on one system (with a given
    directory tree) can be imported from a different system -
    e.g. creating a pre-compiled spdlog package for use on different
    systems.
    
    [1]: https://cmake.org/cmake/help/git-stage/guide/importing-exporting/index.html#id8
    daverigby committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    87095a9 View commit details
    Browse the repository at this point in the history