[libcxx] [cmake] Add asm to the runtimes build languages
authorMartin Storsjö <martin@martin.st>
Wed, 24 Feb 2021 13:51:24 +0000 (15:51 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 25 Feb 2021 22:10:48 +0000 (00:10 +0200)
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

libcxx/utils/ci/runtimes/CMakeLists.txt

index ab4182a..8a7e2a9 100644 (file)
@@ -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)