[OCaml] Clear cross-target test deps when building out-of-tree
authorMichal Gorny <mgorny@gentoo.org>
Sat, 12 Nov 2016 14:58:30 +0000 (14:58 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Sat, 12 Nov 2016 14:58:30 +0000 (14:58 +0000)
commita583be4e52d9f7d0fd36e1d44836d8297cedda2a
treeef8e5a68d39ce4c7a880a6a23ffc85e5436c84d1
parent8b59bb4da7be82924575064aa3b9b19466502170
[OCaml] Clear cross-target test deps when building out-of-tree

Clear cross-target test dependencies when using LLVM_OCAML_OUT_OF_TREE,
in order to make it possible to run check-llvm-bindings-ocaml without
rebuilding the whole LLVM.

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

llvm-svn: 286720
llvm/test/CMakeLists.txt