We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72bfc5 commit 03093b6Copy full SHA for 03093b6
polly/CMakeLists.txt
@@ -29,11 +29,7 @@ if(POLLY_STANDALONE_BUILD)
29
30
# Enable unit tests if available.
31
set(POLLY_GTEST_AVAIL 0)
32
- set(UNITTEST_DIR ${LLVM_THIRD_PARTY_DIR}/unittest)
33
- if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h)
34
- if (NOT TARGET gtest)
35
- add_subdirectory(${UNITTEST_DIR} third-party/unittest)
36
- endif()
+ if(TARGET llvm_gtest)
37
set(POLLY_GTEST_AVAIL 1)
38
endif()
39
0 commit comments