[Polly][CMake] Fix lit setup for building the in the mono repo
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Mon, 5 Mar 2018 14:43:04 +0000 (14:43 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Mon, 5 Mar 2018 14:43:04 +0000 (14:43 +0000)
commit15186d493818ca82087ef766d3f488cc16062787
tree7d59e26060865de06c105d253ed90672fe7a122c
parentd45db612c66301a5abd7f1e8750c9de67f052b6a
[Polly][CMake] Fix lit setup for building the in the mono repo

Summary:
When building polly as part of the monorepo (actually, as part of any setup
using LLVM_ENABLE_PROJECTS), the LLVMPolly library used in the lit tests ends
up in a different directory in the build tree than in an in-tree build

Reviewers: Meinersbur, grosser, bollu

Reviewed By: Meinersbur

Subscribers: mgorny, bollu, pollydev, llvm-commits

Differential Revision: https://reviews.llvm.org/D44078

llvm-svn: 326702
polly/test/CMakeLists.txt