From 0e0c65264aeb6f66b6f711884c55cdbf66d975f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Sun, 26 Jan 2020 22:11:28 +0200 Subject: [PATCH] [libunwind] Fix building standalone after c48974ffd7d1676 After this change, we need to explicitly list the languages the project uses, otherwise the assembly source files won't get built at all. Previously (before that commit), the assembly source files were simply treated as C. The toplevel llvm CMakeLists.txt adds these three languages, so when building libunwind integrated as part of that, it works fine. --- libunwind/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libunwind/CMakeLists.txt b/libunwind/CMakeLists.txt index 4301bab9f270..d3f791e17f10 100644 --- a/libunwind/CMakeLists.txt +++ b/libunwind/CMakeLists.txt @@ -16,7 +16,7 @@ set(CMAKE_MODULE_PATH ) if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR LIBUNWIND_STANDALONE_BUILD) - project(libunwind) + project(libunwind LANGUAGES C CXX ASM) # Rely on llvm-config. set(CONFIG_OUTPUT)