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

Fix solve cmake error with cmake >= 3.11 using a dummy file #457

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pemmanuelviel
Copy link
Contributor

CMake doesn't support anymore add_library with a "" sources field, that
was previously allowing further to link exclusively with a static lib.
This solution creates a dummy empty source file passed to add_library.

CMake doesn't support anymore add_library with a "" sources field, that
was previously allowing further to link exclusively with a static lib.
This solution creates a dummy empty source file passed to add_library.
@mikepurvis
Copy link

mikepurvis commented Aug 17, 2022

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.

None yet

2 participants