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: fix build with cmake 2.8.7 #595

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

DanielGuramulta
Copy link
Contributor

Building libiio with cmake 2.8.7(minimum version required) would fail due to cmake(2.8.7) not being able to copy a list of files separated by ";" to a destination. A solution to this problem is to create a list of commands containing a copy command for each iio test target file. With this approach the minimum required CMake version is not touched.

Tested with CMake version 2.8.7 and 3.18.2

Signed-off-by: DanielGuramulta [email protected]

Building libiio with cmake 2.8.7(minimum version required) would fail due to cmake(2.8.7) not being able to copy a list of files separated by ";" to a destination. A solution to this problem is to create a list of commands containing a copy command for each iio test target file. With this approach the minimum required cmake version is not touched.
Signed-off-by: DanielGuramulta <[email protected]>
@dNechita dNechita self-requested a review October 6, 2020 10:05
Copy link
Contributor

@dNechita dNechita left a comment

Choose a reason for hiding this comment

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

This seems to be ok. Thanks!

@rgetz rgetz merged commit 80ed865 into analogdevicesinc:master Oct 7, 2020
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.

3 participants