aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-25 05:03:06 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-25 05:03:06 +0000
commit4b73893d82866fc6889e550bedda0e4d76ad930a (patch)
tree1ccb97258a10888a5622ecbc321fc97be7b16d97 /cmake
parentf2641eb4143a48dd2f22798fc6cbf42f96377918 (diff)
Add missing dependencies to the CMake build system.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/TableGen.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake
index 16c732b089..0a96b5514d 100644
--- a/cmake/modules/TableGen.cmake
+++ b/cmake/modules/TableGen.cmake
@@ -20,4 +20,6 @@ macro(tablegen ofn)
COMMENT "Building ${ofn}..."
)
set(TABLEGEN_OUTPUT ${TABLEGEN_OUTPUT} ${CMAKE_CURRENT_BINARY_DIR}/${ofn})
+ set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${ofn}
+ PROPERTIES GENERATED 1)
endmacro(tablegen)