diff --git a/thrust/cmake/thrust-config.cmake b/thrust/cmake/thrust-config.cmake index b9e9fb065..a0870183d 100644 --- a/thrust/cmake/thrust-config.cmake +++ b/thrust/cmake/thrust-config.cmake @@ -503,7 +503,7 @@ macro(_thrust_find_CUDA required) NO_DEFAULT_PATH # Only check the explicit HINTS below: HINTS "${_THRUST_INCLUDE_DIR}/dependencies/cub" # Source layout - "${_THRUST_INCLUDE_DIR}/.." # Install layout + "${_THRUST_CMAKE_DIR}/.." # Install layout ) if (TARGET CUB::CUB)