aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/TableGen.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/TableGen.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 16c732b08938..0a96b5514db6 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)