From 5bd5e26cbe7ae2ca7c7553169b50810ec3694e74 Mon Sep 17 00:00:00 2001 From: chenrui17 Date: Wed, 10 Mar 2021 19:35:12 +0800 Subject: [PATCH] fix no such file dlpack.h error when build libcudf --- cpp/cmake/thirdparty/CUDF_GetDLPack.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/cmake/thirdparty/CUDF_GetDLPack.cmake b/cpp/cmake/thirdparty/CUDF_GetDLPack.cmake index 5aaf5eaa434..b41c6d3b8d2 100644 --- a/cpp/cmake/thirdparty/CUDF_GetDLPack.cmake +++ b/cpp/cmake/thirdparty/CUDF_GetDLPack.cmake @@ -16,7 +16,7 @@ function(find_and_configure_dlpack VERSION) if(DLPACK_INCLUDE) - set(DLPACK_INCLUDE_DIR "${DLPACK_INCLUDE_DIR}" PARENT_SCOPE) + set(DLPACK_INCLUDE_DIR "${DLPACK_INCLUDE}" PARENT_SCOPE) return() endif() find_path(DLPACK_INCLUDE_DIR "dlpack"