[CMake] add_clang_library(): Fix LLVM_PLUGIN_EXT in MODULE. It was broken since my r199902.

llvm-svn: 200760
This commit is contained in:
NAKAMURA Takumi 2014-02-04 12:26:48 +00:00
parent 75ab7f9b88
commit da94d8a72e
1 changed files with 1 additions and 1 deletions

View File

@ -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 ()