[CMake] Pass CMAKE_INSTALL_DO_STRIP to external projects
authorPetr Hosek <phosek@chromium.org>
Sun, 15 Jul 2018 02:12:25 +0000 (02:12 +0000)
committerPetr Hosek <phosek@chromium.org>
Sun, 15 Jul 2018 02:12:25 +0000 (02:12 +0000)
commit7629f987c1381353374eacdad9779d09671d8705
tree0ab2866f7071f2ddbf7bbe17641403e640c8e86c
parent73ed2e6a543216504e3c05869d465abc461d7ef5
[CMake] Pass CMAKE_INSTALL_DO_STRIP to external projects

This is necessary to make install-<target>-stripped work for
external projects such as runtimes.

Differential Revision: https://reviews.llvm.org/D49335

llvm-svn: 337115
llvm/cmake/modules/LLVMExternalProjectUtils.cmake