Skip to content

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 <heiko.thiery@gmail.com>
@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