Verified Commit 4602c412 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: fix function

parent d2d04f4b
Pipeline #13909 passed with stage
in 252 minutes and 23 seconds
......@@ -30,7 +30,7 @@ ENDFUNCTION(REMOVE_PATH_FROM_LIST)
FUNCTION(LIST_FILTER list regular_expression dest_list)
FOREACH(elt ${list})
IF(${elt} MATCHES ${regular_expression})
LIST(REMOVE_ITEM ${list} ${elt})
LIST(REMOVE_ITEM list ${elt})
ENDIF()
ENDFOREACH(elt ${list})
SET(${dest_list} ${list} PARENT_SCOPE)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment