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

CMake: Add namespaced ALIAS library #3155

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

ZedThree
Copy link
Contributor

@ZedThree ZedThree commented Dec 4, 2020

Fixes #3125

I've assumed that #3094 will be in shortly, and so there's no need to guard this like in other places, for example:

if (NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11")

I've also had to make sure cmake_package_name is always set so that the namespace is consistent between exported targets and the alias libraries.

@google-cla google-cla bot added the cla: yes label Dec 4, 2020
@derekmauro derekmauro self-assigned this Dec 7, 2020
@phcerdan
Copy link

Looks good!

@ghost ghost mentioned this pull request Mar 11, 2021
@Mizux
Copy link

Mizux commented Mar 11, 2021

should also close #2429 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide ALIAS targets to unify usage
6 participants