projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65eae3f
)
Fix CMake builds: sources not used in every targets must be marked with LLVM_OPTI...
author
Mehdi Amini
<aminim@google.com>
Fri, 31 May 2019 20:46:23 +0000
(13:46 -0700)
committer
Mehdi Amini
<joker.eph@gmail.com>
Sun, 2 Jun 2019 03:13:10 +0000
(20:13 -0700)
--
PiperOrigin-RevId:
250948796
mlir/test/TestDialect/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/mlir/test/TestDialect/CMakeLists.txt
b/mlir/test/TestDialect/CMakeLists.txt
index
bf2a6f9
..
c08b74e
100644
(file)
--- a/
mlir/test/TestDialect/CMakeLists.txt
+++ b/
mlir/test/TestDialect/CMakeLists.txt
@@
-1,3
+1,8
@@
+set(LLVM_OPTIONAL_SOURCES
+ TestDialect.cpp
+ TestPatterns.cpp
+)
+
set(LLVM_TARGET_DEFINITIONS TestOps.td)
mlir_tablegen(TestOps.h.inc -gen-op-decls)
mlir_tablegen(TestOps.cpp.inc -gen-op-defs)