diff --git a/hpvm/tools/hpvm-clang/CMakeLists.txt b/hpvm/tools/hpvm-clang/CMakeLists.txt index c28c538626f31451c69c40495191314c345a5c16..cf387e5642e100ee959a9a59251601e15ba1f40e 100644 --- a/hpvm/tools/hpvm-clang/CMakeLists.txt +++ b/hpvm/tools/hpvm-clang/CMakeLists.txt @@ -29,6 +29,9 @@ if(TARGET tensor_runtime) else() set(HPVM_HAS_TRT 0) # Doesn't have tensor runtime endif() + +list(APPEND INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../../include) + if(${HPVM_USE_OPENCL}) # We need to link to OpenCL libs when hpvm uses opencl # because OpenCL functions may be injected by the OpenCL pass.