Skip to content

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

Open
pemmanuelviel wants to merge 1 commit into
flann-lib:masterfrom
pemmanuelviel:pev-fix-cmake
Open

Fix solve cmake error with cmake >= 3.11 using a dummy file#457
pemmanuelviel wants to merge 1 commit into
flann-lib:masterfrom
pemmanuelviel:pev-fix-cmake

Conversation

@pemmanuelviel
Copy link
Copy Markdown
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
Copy Markdown

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.

2 participants