aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-02-24 15:51:24 +0200
committerMartin Storsjö <martin@martin.st>2021-02-26 00:10:48 +0200
commit72fe14d40a527465deb76c9b2241297635fd45bf (patch)
tree81eda7869faac313346d9f3513a0de62f99e73ae
parent3be7968c36c313b0de1baca0a87be2b98cb7f7c1 (diff)
downloadllvm-72fe14d40a527465deb76c9b2241297635fd45bf.zip
llvm-72fe14d40a527465deb76c9b2241297635fd45bf.tar.gz
llvm-72fe14d40a527465deb76c9b2241297635fd45bf.tar.bz2
[libcxx] [cmake] Add asm to the runtimes build languages
This fixes building libunwind with a new enough version of cmake. (libunwind treats its asm sources as C depending on the cmake version on some platforms; this fixes builds when such workarounds aren't used, when cmake treats asm correctly on its own.) Differential Revision: https://reviews.llvm.org/D97399
-rw-r--r--libcxx/utils/ci/runtimes/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/utils/ci/runtimes/CMakeLists.txt b/libcxx/utils/ci/runtimes/CMakeLists.txt
index ab4182a..8a7e2a9 100644
--- a/libcxx/utils/ci/runtimes/CMakeLists.txt
+++ b/libcxx/utils/ci/runtimes/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.13.4)
-project(LLVM_RUNTIMES)
+project(LLVM_RUNTIMES C CXX ASM)
set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)