[llvm] r198165 - [CMake] Fix add_llvm_loadble_module.

NAKAMURA Takumi geek4civic at gmail.com
Sun Dec 29 08:15:31 PST 2013


Author: chapuni
Date: Sun Dec 29 10:15:31 2013
New Revision: 198165

URL: http://llvm.org/viewvc/llvm-project?rev=198165&view=rev
Log:
[CMake] Fix add_llvm_loadble_module.

Thanks to Edward-san, to let me know.

Modified:
    llvm/trunk/cmake/modules/AddLLVM.cmake

Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=198165&r1=198164&r2=198165&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Sun Dec 29 10:15:31 2013
@@ -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} )
 





More information about the llvm-commits mailing list