[CMake] add_llvm_loadable_module: Fixup r200762, I mis-eliminated wrong line. :(
[oota-llvm.git] / cmake / modules / AddLLVM.cmake
index f1da76d8d319d236dd1925e7c94cb61bdb0d6e2a..e925632aa9ff1d5e6ea10ed2979fbce738dac4f0 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 "" )