[MLIR] Fix build when NVPTX is not enabled
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Thu, 28 May 2020 20:50:32 +0000 (13:50 -0700)
committerStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Thu, 28 May 2020 21:07:55 +0000 (14:07 -0700)
commit8b3155829a99fecc9e62f84d95668d0e85a0dd62
treeff0074c88b2f956268f9f375999c6dbdc6653651
parente8e7b2cb46bb16a8939567d770c3f69df35e7bdc
[MLIR] Fix build when NVPTX is not enabled

In this case, neither target is selected, but there is still a dependence
on the MC library (through the TargetOptions.h include)
mlir/lib/Conversion/GPUCommon/CMakeLists.txt