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: GrPython: make set_target_properties call suitable for older cmake #5256

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

willcode
Copy link
Member

@willcode willcode commented Oct 26, 2021

Pull Request Details

Description

Use set_target_properties/INTERFACE_LINK_LIBRARIES instead of target_link_libraries when configuring Numpy in GrPython.cmake. This is needed for older versions of CMake, such at the one on Ubuntu 18.04, which has cmake 3.10.2. The newer function is not available until 3.13.

Related Issue

Fixes #5115

Checklist

…make

Signed-off-by: Jeff Long <willcode4@gmail.com>
Copy link
Member

@mbr0wn mbr0wn left a comment

Choose a reason for hiding this comment

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

Isn't this the CMake-preferred solution anyway?

@mbr0wn mbr0wn merged commit 42d29c0 into gnuradio:maint-3.9 Oct 26, 2021
@willcode willcode deleted the finding-numpy branch October 26, 2021 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants