OSDN Git Service

llvm-exegesis: Fix unittests include dirs when llvm is a part of another project
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Thu, 5 Apr 2018 18:16:02 +0000 (18:16 +0000)
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Thu, 5 Apr 2018 18:16:02 +0000 (18:16 +0000)
commit8947d93c99b0fe45ad453894c5a232d01b781e9e
tree30e0b0a51afee05171f09e2d77d013095b95cfca
parent13f8aabe0def1d605bb3504044db077a9ed5e52d
llvm-exegesis: Fix unittests include dirs when llvm is a part of another project

When llvm is a part of another project (i.e. opencl),
CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR are pointing to
the parent project, which lead to build failures.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329325 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/tools/llvm-exegesis/CMakeLists.txt