diff options
author | Chris Bieneman <beanz@apple.com> | 2015-12-10 00:40:58 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2015-12-10 00:40:58 +0000 |
commit | b336cc19d8bfed34eb80b72947d5274bcaf1bbe4 (patch) | |
tree | 231b29661563f162558f6f36dd982b96ba83a362 /cmake/Modules/CompilerRTUtils.cmake | |
parent | 4c6b6989f833c5d6738944852bd9327203c12692 (diff) |
Revert "[CMake] Provide options for toggling on and off various runtime libraries."
This reverts r255170. This change caused a bunch of bot failures and needs to be revised.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@255184 91177308-0d34-0410-b5e6-96231b3b80d8
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() |