We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cbb9f7 commit 95d4506Copy full SHA for 95d4506
llvm/cmake/modules/TableGen.cmake
@@ -154,6 +154,13 @@ macro(add_tablegen target project)
154
endif()
155
156
157
+ # FIXME: Quick fix to reflect LLVM_TABLEGEN to llvm-min-tblgen
158
+ if("${target}" STREQUAL "llvm-min-tblgen"
159
+ AND NOT "${LLVM_TABLEGEN}" STREQUAL ""
160
+ AND NOT "${LLVM_TABLEGEN}" STREQUAL "llvm-tblgen")
161
+ set(${project}_TABLEGEN_DEFAULT "${LLVM_TABLEGEN}")
162
+ endif()
163
+
164
if(ADD_TABLEGEN_EXPORT)
165
set(${project}_TABLEGEN "${${project}_TABLEGEN_DEFAULT}" CACHE
166
STRING "Native TableGen executable. Saves building one when cross-compiling.")
0 commit comments