From 9ac60551645be7a3c5f9b702159052f2f1a5b26a Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 28 Jan 2014 09:47:12 +0000 Subject: [PATCH] [CMake] Apply llvm_update_compile_flags() to add_clang_library(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200302 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c4f61df191..3c2a0fc552 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -307,6 +307,7 @@ macro(add_clang_library name) set(libkind) endif() add_library( ${name} ${libkind} ${srcs} ) + llvm_update_compile_flags(${name} ${ALL_FILES}) add_dead_strip( ${name} ) set_output_directory(${name} ${LLVM_RUNTIME_OUTPUT_INTDIR} ${LLVM_LIBRARY_OUTPUT_INTDIR}) if( LLVM_COMMON_DEPENDS ) -- 2.40.0