[CMake] add_llvm_loadable_module: Fixup r200762, I mis-eliminated wrong line. :(
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 4 Feb 2014 13:40:31 +0000 (13:40 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 4 Feb 2014 13:40:31 +0000 (13:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200763 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/AddLLVM.cmake

index f1da76d..e925632 100644 (file)
@@ -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 "" )