From da94d8a72e6f010712211997c696189be6f9ca6a Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 4 Feb 2014 12:26:48 +0000 Subject: [PATCH] [CMake] add_clang_library(): Fix LLVM_PLUGIN_EXT in MODULE. It was broken since my r199902. llvm-svn: 200760 --- clang/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index 8e93505b6fa6..e6fd46fdeabb 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -325,7 +325,7 @@ macro(add_clang_library name) add_llvm_symbol_exports( ${name} ${LLVM_EXPORTED_SYMBOL_FILE} ) endif() - if (MODULE) + if (ARG_MODULE) set_property(TARGET ${name} PROPERTY SUFFIX ${LLVM_PLUGIN_EXT}) endif ()