summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-02-20 02:55:27 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-02-20 02:55:27 +0000
commit00d78f1348a5980a276bed8f9be09ce2412a6a12 (patch)
tree81597ac6d857f5ef9bb97a2341b7cfcb0dc68318 /cmake
parent7ac0199287f7ebfdb4c609b0d3fd5d7fb41d1ce8 (diff)
downloadllvm-00d78f1348a5980a276bed8f9be09ce2412a6a12.tar.gz
llvm-00d78f1348a5980a276bed8f9be09ce2412a6a12.tar.bz2
llvm-00d78f1348a5980a276bed8f9be09ce2412a6a12.tar.xz
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-xcmake/modules/AddLLVM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index 9d275a00a2..dfe67cded3 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)