| Index: tools/clang/CMakeLists.txt
|
| diff --git a/tools/clang/CMakeLists.txt b/tools/clang/CMakeLists.txt
|
| index addcb5645183cebe3aa7519973914c223184bdf8..02c0533bf9bec25badae61151a2edf11119779e8 100644
|
| --- a/tools/clang/CMakeLists.txt
|
| +++ b/tools/clang/CMakeLists.txt
|
| @@ -58,6 +58,12 @@ endfunction(cr_install)
|
| add_custom_target(cr-install COMMAND
|
| ${CMAKE_COMMAND} -D COMPONENT=chrome-tools -P cmake_install.cmake)
|
|
|
| -foreach(tool ${CHROMIUM_TOOLS})
|
| - add_subdirectory(${tool})
|
| -endforeach(tool)
|
| +if (CHROMIUM_TOOLS)
|
| + # Clang bootstraper has hard times with semicolon separated values, so
|
| + # CHROMIUM_TOOLS are separated by comma. To make it iterable cmake list
|
| + # replace those with semicolon.
|
| + string(REPLACE "," ";" CHROMIUM_TOOLS_LIST ${CHROMIUM_TOOLS})
|
| + foreach(tool ${CHROMIUM_TOOLS_LIST})
|
| + add_subdirectory(${tool})
|
| + endforeach(tool)
|
| +endif(CHROMIUM_TOOLS)
|
|
|