From: NAKAMURA Takumi Date: Tue, 4 Feb 2014 13:40:31 +0000 (+0000) Subject: [CMake] add_llvm_loadable_module: Fixup r200762, I mis-eliminated wrong line. :( X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=82adfbd9f94ed6f1dcaf9d67df5514a6b12b41de [CMake] add_llvm_loadable_module: Fixup r200762, I mis-eliminated wrong line. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200763 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index f1da76d8d31..e925632aa9f 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -217,6 +217,7 @@ ${name} ignored.") # Add empty "phony" target add_custom_target(${name}) else() + llvm_process_sources( ALL_FILES ${ARGN} ) add_library(${name} MODULE ${ALL_FILES}) set_output_directory(${name} ${LLVM_RUNTIME_OUTPUT_INTDIR} ${LLVM_LIBRARY_OUTPUT_INTDIR}) set_target_properties( ${name} PROPERTIES PREFIX "" )