diff options
Diffstat (limited to 'cmake/Modules/CompilerRTUtils.cmake')
-rw-r--r-- | cmake/Modules/CompilerRTUtils.cmake | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/cmake/Modules/CompilerRTUtils.cmake b/cmake/Modules/CompilerRTUtils.cmake index f9c7f0fed..cf690f4a3 100644 --- a/cmake/Modules/CompilerRTUtils.cmake +++ b/cmake/Modules/CompilerRTUtils.cmake @@ -36,16 +36,6 @@ macro(append_list_if condition value) endif() endmacro() -# Appends values to list if it isn't already there -macro(append_list_unique list) - foreach(val ${ARGN}) - list(FIND ${list} ${val} idx) - if(idx EQUAL -1) - list(APPEND ${list} ${val}) - endif() - endforeach() -endmacro() - # Appends value to all strings in ARGN, if the condition is true. macro(append_string_if condition value) if(${condition}) @@ -77,12 +67,3 @@ macro(list_union output input1 input2) endif() endforeach() endmacro() - -macro(check_list_contains outvar list input) - list(FIND ${list} ${input} idx) - if(idx GREATER -1) - set(${outvar} True) - else() - set(${outvar} False) - endif() -endmacro() |