[CMake] Fix r307650: Readd missing dependency.

The commit erroneously removed the dependency of the Polly tests on
things like opt and FileCheck. Add that dependency back.

llvm-svn: 308512
This commit is contained in:
Philip Pfaffe 2017-07-19 19:20:58 +00:00
parent ac01994db9
commit 17b1ecfdc5
1 changed files with 2 additions and 1 deletions

View File

@ -28,14 +28,15 @@ if(NOT LLVM_MAIN_SRC_DIR)
if ("${POLLY_TEST_EXTRA_PATHS}" STREQUAL "${LLVM_TOOLS_BINARY_DIR}")
set(POLLY_TEST_EXTRA_PATHS "")
endif()
set(POLLY_TEST_DEPS LLVMPolly)
else ()
set(LLVM_OPT "${LLVM_TOOLS_BINARY_DIR}/opt")
set(LLVM_FILECHECK "${LLVM_TOOLS_BINARY_DIR}/FileCheck")
set(LLVM_NOT "${LLVM_TOOLS_BINARY_DIR}/not")
set(POLLY_TEST_EXTRA_PATHS "")
set(POLLY_TEST_DEPS llvm-config opt LLVMPolly FileCheck not)
endif()
set(POLLY_TEST_DEPS LLVMPolly)
if (POLLY_BUNDLED_ISL)
list(APPEND POLLY_TEST_DEPS polly-isl-test)
endif()