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

build: Fix installation paths #1657

Merged
merged 1 commit into from
May 1, 2020
Merged

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Apr 30, 2020

It is not generally true that CMAKE_INSTALL_<dir> variables are relative paths:

https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files

This lead to includedir=/nix/store/9axh4pacy7l4s7ii9j0ij54nmdslj7yy-fmt-6.2.0-dev//nix/store/9axh4pacy7l4s7ii9j0ij54nmdslj7yy-fmt-6.2.0-dev/include.

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

@jtojnar jtojnar mentioned this pull request Apr 30, 2020
10 tasks
Copy link
Contributor

@vitaut vitaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Looks great, just two comments inline.

CMakeLists.txt Show resolved Hide resolved
support/cmake/JoinPaths.cmake Show resolved Hide resolved
It is not generally true that `CMAKE_INSTALL_<dir>` variables are relative paths:

https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files
@vitaut vitaut merged commit 78f041a into fmtlib:master May 1, 2020
@vitaut
Copy link
Contributor

vitaut commented May 1, 2020

Thank you!

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.

2 participants