diff --git a/polly/test/CMakeLists.txt b/polly/test/CMakeLists.txt index 85b36a92e429..0cc33c3262ca 100644 --- a/polly/test/CMakeLists.txt +++ b/polly/test/CMakeLists.txt @@ -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()