Skip to content

fix: adjust cmake config installation path to place in the correct dir#115

Open
wreedb wants to merge 1 commit into
bfgroup:developfrom
wreedb:fix-backwards-cmake-config-install
Open

fix: adjust cmake config installation path to place in the correct dir#115
wreedb wants to merge 1 commit into
bfgroup:developfrom
wreedb:fix-backwards-cmake-config-install

Conversation

@wreedb

@wreedb wreedb commented Jun 3, 2026

Copy link
Copy Markdown

This change adjust the installation path of the Lyra CMake configuration files, which at the current time install to the location:

${CMAKE_INSTALL_PREFIX}/share/lyra/cmake/lyraConfig.cmake
${CMAKE_INSTALL_PREFIX}/share/lyra/cmake/lyraTarget.cmake

To install in the location:

${CMAKE_INSTALL_PREFIX}/share/cmake/lyra/lyraConfig.cmake
${CMAKE_INSTALL_PREFIX}/share/cmake/lyra/lyraConfig.cmake

The share/lyra/cmake/ path isn't useful because it isn't a path that CMake searches for when looking for modules, share/cmake/* is in the CMake search path. This is a common mistake I see with CMake projects, which typically ends up getting dealt with on a packagers end, but it's a small change, so I figured I would provide it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant