Skip to content

Fix libdir entry in xsimd.pc #750

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

Merged
merged 1 commit into from
May 24, 2022
Merged

Conversation

serge-sans-paille
Copy link
Contributor

xsimd is a header-only library, so libdir is not useful

Fix #748

@serge-sans-paille
Copy link
Contributor Author

@alexshpilkin please correct me if libdir is actually needed.

Accept both relative and absolute libdir and include dir

Fix #748
@serge-sans-paille
Copy link
Contributor Author

CMake installs the target files and package related-stuff under libdir.

ok, patch updated

@serge-sans-paille serge-sans-paille changed the title Get rid of libdir entry in xsimd.pc Fix libdir entry in xsimd.pc May 20, 2022
@serge-sans-paille
Copy link
Contributor Author

serge-sans-paille commented May 23, 2022

@JohanMabille / @alexshpilkin : ready for review

@serge-sans-paille serge-sans-paille merged commit 8f5b3b6 into master May 24, 2022
@JohanMabille JohanMabille deleted the fix/pkg-config-libdir branch May 30, 2022 07:33
@@ -1,6 +1,6 @@
prefix=@CMAKE_INSTALL_PREFIX@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/include
ibdir=@libdir_for_pc_file@

Choose a reason for hiding this comment

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

@serge-sans-paille I’m very sorry for procrastinating on this, but there seems to be a typo here:

Suggested change
ibdir=@libdir_for_pc_file@
libdir=@libdir_for_pc_file@

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@serge-sans-paille I’m very sorry for procrastinating on this, but there seems to be a typo here:

I'm very sorry for the typo :-/
Fixed as of ed0ad83

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.

pkg-config file is broken when CMAKE_INSTALL_LIBDIR is absolute
2 participants