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

CMakeModules/UseCompat.cmake: fix list(REMOVE_ITEM ...) #2332

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

hthiery
Copy link
Contributor

@hthiery hthiery commented Jan 5, 2025

When using a cmake version <= 3.19 the compat check fails with:

CMake Error at CMakeModules/UseCompat.cmake:48 (list):
  list sub-command REMOVE_ITEM requires two or more arguments.

To solve the issue we simply add an empty element "".

When using a cmake version <= 3.19 the compat check fails with:

CMake Error at CMakeModules/UseCompat.cmake:48 (list):
  list sub-command REMOVE_ITEM requires two or more arguments.

To solve the issue we simply add an empty element "".

Signed-off-by: Heiko Thiery <[email protected]>
@hthiery hthiery changed the title CMCMakeModules/UseCompat.cmake: fix list(REMOVE_ITEM ...) CMakeModules/UseCompat.cmake: fix list(REMOVE_ITEM ...) Jan 5, 2025
@michalvasko
Copy link
Member

No problem, thanks.

@michalvasko michalvasko merged commit a1633fc into CESNET:devel Jan 6, 2025
11 checks passed
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