projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git]
/
cmake
/
modules
/
TableGen.cmake
diff --git
a/cmake/modules/TableGen.cmake
b/cmake/modules/TableGen.cmake
index 8c06b051b4d6fda0012e18850d880da831e720a8..e3bdd9c7048302080153791b91e9314cf8a75d20 100644
(file)
--- a/
cmake/modules/TableGen.cmake
+++ b/
cmake/modules/TableGen.cmake
@@
-50,7
+50,10
@@
function(add_public_tablegen_target target)
if( TABLEGEN_OUTPUT )
add_custom_target(${target}
DEPENDS ${TABLEGEN_OUTPUT})
if( TABLEGEN_OUTPUT )
add_custom_target(${target}
DEPENDS ${TABLEGEN_OUTPUT})
- add_dependencies(${target} ${LLVM_COMMON_DEPENDS})
+ if (LLVM_COMMON_DEPENDS)
+ add_dependencies(${target} ${LLVM_COMMON_DEPENDS})
+ endif ()
+ set_target_properties(${target} PROPERTIES FOLDER "Tablegenning")
endif( TABLEGEN_OUTPUT )
endfunction()
endif( TABLEGEN_OUTPUT )
endfunction()