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

Installing cubic interpolation into a custom directory results in wrong (system) paths in cmake config #23

Open
maxnoe opened this issue Feb 9, 2024 · 0 comments · May be fixed by #24

Comments

@maxnoe
Copy link
Member

maxnoe commented Feb 9, 2024

To reproduce:

$ cmake -S . -B build -DCMAKE_INSTALL_PREFIX=~/.local/cubic_interpolation
$ cmake --build build
$ cmake --install build
$ grep CUBICINTERPOLATION_LIBRARIES ~/.local/cubic_interpolation/lib/cmake/CubicInterpolation/CubicInterpolationConfig.cmake
set_and_check(CUBICINTERPOLATION_LIBRARIES    "/usr/lib/libCubicInterpolation.so")

This makes then using that installation via find_package(CubicInterpolation CONFIG) impossible

@Jean1995 Jean1995 linked a pull request Feb 29, 2024 that will close this issue
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 a pull request may close this issue.

1 participant