From 1c8a7104685271634befd4e6b789ccce7aa9df8f 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200760 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e93505b6f..e6fd46fdea 100644 --- a/CMakeLists.txt +++ b/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 () -- 2.40.0