From 41d819cf9b06f1cde85b1371c117012f8fc3f3ff Mon Sep 17 00:00:00 2001 From: dfukalov Date: Thu, 25 Feb 2016 15:18:14 +0300 Subject: [PATCH] fixed lit script discovery in standalone build case [ROCm/hip commit: 7b79c7c4fde34533f168bbc64ff0678332b8c035] --- projects/hip/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip/CMakeLists.txt b/projects/hip/CMakeLists.txt index 8915cc4714..1a6bc3636d 100644 --- a/projects/hip/CMakeLists.txt +++ b/projects/hip/CMakeLists.txt @@ -15,6 +15,7 @@ if(${HIPIFY_STANDLONE}) link_directories(${LLVM_LIBRARY_DIRS}) add_definitions(${LLVM_DEFINITIONS}) add_llvm_executable( hipify src/Cuda2Hip.cpp ) + find_program(LIT_COMMAND lit) else() set(LLVM_LINK_COMPONENTS