Created
December 29, 2013 16:12
-
-
Save chapuni/8171944 to your computer and use it in GitHub Desktop.
Fix broken cmake build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/llvm/cmake/modules/AddLLVM.cmake | |
+++ b/llvm/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} ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment