Skip to content

Commit e62d39d

Browse files
author
jyu49
committed
Fix list_filter when cmake version > 3.59
1 parent 8d5ddc8 commit e62d39d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmakelib/QuickCppLibUtils.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ endfunction()
5555
function(list_filter listname op regexqualifer regex)
5656
if(CMAKE_VERSION VERSION_GREATER 3.59)
5757
list(FILTER ${ARGV})
58+
set(${listname} ${${listname}} PARENT_SCOPE)
5859
else()
5960
set(out)
6061
foreach(item ${${listname}})

0 commit comments

Comments
 (0)