diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-02-20 02:55:27 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-02-20 02:55:27 +0000 |
commit | 00d78f1348a5980a276bed8f9be09ce2412a6a12 (patch) | |
tree | 81597ac6d857f5ef9bb97a2341b7cfcb0dc68318 /cmake | |
parent | 7ac0199287f7ebfdb4c609b0d3fd5d7fb41d1ce8 (diff) | |
download | external_llvm-00d78f1348a5980a276bed8f9be09ce2412a6a12.zip external_llvm-00d78f1348a5980a276bed8f9be09ce2412a6a12.tar.gz external_llvm-00d78f1348a5980a276bed8f9be09ce2412a6a12.tar.bz2 |
Use explicit add_subdirectory's for LLVM target sublibraries instead
of testing for its presence at cmake time.
This way the build automatically regenerates the makefiles when a svn
update brings in a new sublibrary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126068 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 9d275a0..dfe67cd 100755 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -121,5 +121,5 @@ macro(add_llvm_target target_name) if ( TABLEGEN_OUTPUT ) add_dependencies(LLVM${target_name} ${target_name}Table_gen) endif (TABLEGEN_OUTPUT) - set(CURRENT_LLVM_TARGET LLVM${target_name} PARENT_SCOPE) + set( CURRENT_LLVM_TARGET LLVM${target_name} ) endmacro(add_llvm_target) |