[mlir] tentative fix for "'GTEST_NO_LLVM_SUPPORT' is not defined" war… (#84539)
…ning when unittest is enabled
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
set_target_properties(MLIRUnitTests PROPERTIES FOLDER "MLIR Tests")
|
||||
|
||||
# To silence warning caused by Wundef.
|
||||
add_definitions(-DGTEST_NO_LLVM_SUPPORT=0)
|
||||
|
||||
function(add_mlir_unittest test_dirname)
|
||||
add_unittest(MLIRUnitTests ${test_dirname} ${ARGN})
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user