-
Notifications
You must be signed in to change notification settings - Fork 48
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 FetchContent #130
Comments
My understanding is FetchContent is normally used to include things like header only projects or general source you want to use. Do you not want to simply link against libiio? What is your end goal here? |
I will setup a project, where cmake will automatically download all dependencies. iio and ad9361 are just 2 of 10 dependencies that I have. |
Are you building all the dependencies from source (even libiio's)? Or can you use prebuilt binaries? What is the target OS? |
So it's even the problem when both, iio and this library are combined. It would be already enough to rename the targets to uninstall_iio and uninstall_ad9361-iio. I want to have a full independence from pebuild libraries. Such that my program can be just build everywhere. |
Seems that this would be a solution that works around this:
|
Im using the lib via FetchContent in my project.
However, there is a naming clash with another library that also has a target uninstall:
One workaround would be to change the cmake a bit, in this way:
Any thoughts?
The text was updated successfully, but these errors were encountered: