Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit ee8b3c3

Browse files
committed
[CMake] Fix add_llvm_loadble_module.
Thanks to Edward-san, to let me know. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198165 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent a1d32cc commit ee8b3c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/modules/AddLLVM.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ ${name} ignored.")
134134
set(libkind SHARED)
135135
endif()
136136

137+
add_library( ${name} ${libkind} ${ALL_FILES} )
138+
set_target_properties( ${name} PROPERTIES PREFIX "" )
139+
137140
if (LLVM_EXPORTED_SYMBOL_FILE)
138141
add_llvm_symbol_exports( ${name} ${LLVM_EXPORTED_SYMBOL_FILE} )
139142
endif(LLVM_EXPORTED_SYMBOL_FILE)
140143

141-
add_library( ${name} ${libkind} ${ALL_FILES} )
142-
set_target_properties( ${name} PROPERTIES PREFIX "" )
143-
144144
llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )
145145
link_system_libs( ${name} )
146146

0 commit comments

Comments
 (0)