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