[MLIR] Fix Xcode build due to incorrect library path
authorAaron Smith <aaron.smith@microsoft.com>
Fri, 20 Mar 2020 23:38:16 +0000 (16:38 -0700)
committerAaron Smith <aaron.smith@microsoft.com>
Fri, 20 Mar 2020 23:38:16 +0000 (16:38 -0700)
commitaa1e0e01d89d490fca5861efa4874ca998f6503f
tree202f0814a43816f3c5a72a6e63c4e271395b24bd
parent6aef702ab63fee39ea348dbf83be3d6f2670566b
[MLIR] Fix Xcode build due to incorrect library path

Two MLIR examples do not link because the library path is different when using Xcode vs Makefiles.
This change adds the configuration name to the library path when building with Xcode.

i.e. LLVM_BUILD_DIR/debug/lib
mlir/cmake/modules/AddMLIR.cmake