summaryrefslogtreecommitdiff
path: root/cmake/modules/AddLLVM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/AddLLVM.cmake')
-rw-r--r--cmake/modules/AddLLVM.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index 4588919965..460eeb1ba4 100644
--- a/cmake/modules/AddLLVM.cmake
+++ b/cmake/modules/AddLLVM.cmake
@@ -134,13 +134,13 @@ ${name} ignored.")
set(libkind SHARED)
endif()
+ add_library( ${name} ${libkind} ${ALL_FILES} )
+ set_target_properties( ${name} PROPERTIES PREFIX "" )
+
if (LLVM_EXPORTED_SYMBOL_FILE)
add_llvm_symbol_exports( ${name} ${LLVM_EXPORTED_SYMBOL_FILE} )
endif(LLVM_EXPORTED_SYMBOL_FILE)
- add_library( ${name} ${libkind} ${ALL_FILES} )
- set_target_properties( ${name} PROPERTIES PREFIX "" )
-
llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )
link_system_libs( ${name} )