Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

The cmake version config file is not installed alongside the config file #72

Copy link
Copy link
@strega-nil

Description

@strega-nil
Issue body actions

According to https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html, the cmake version config file should be installed alongside the cmake config file; however:

install(EXPORT cppitertools-targets
        FILE cppitertools-config.cmake
        NAMESPACE cppitertools::
        DESTINATION ${cppitertools_INSTALL_CMAKE_DIR}/cppitertools
        )

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cppitertools-config-version.cmake DESTINATION ${cppitertools_INSTALL_CMAKE_DIR})

is how the version file is installed -- afaict, this is a silent failure to use the version file. It seems that the DESTINATION should probably be ${cppitertools_INSTALL_CMAKE_DIR}/cppitertools, like the cppitertools-config.cmake file.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.