[Polly] Reuse LLVM's build rules for gtest/gmock
authorMichał Górny <mgorny@gentoo.org>
Wed, 5 Aug 2020 08:15:41 +0000 (10:15 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Aug 2020 10:53:31 +0000 (12:53 +0200)
commitc8b629a3a5854506dd25e84f9b4174b53f8f667b
treedae3e80ba56c2cdf53337de1d21f3d67e9576624
parent04a23f1fe08a6ad0baf1305d7308231d2cb4843b
[Polly] Reuse LLVM's build rules for gtest/gmock

Reuse LLVM's CMakeLists.txt for gtest/gmock instead of reinventing
them in Polly.  This fixes a lot of linking errors due to not linking
LLVMSupport in for me.

Differential Revision: https://reviews.llvm.org/D85280
polly/CMakeLists.txt