vcpkg/ports/cub/fix-usage.patch

13 lines
536 B
Diff
Raw Normal View History

diff --git a/cub/cmake/cub-config.cmake b/cub/cmake/cub-config.cmake
2023-10-05 05:25:20 +08:00
index ebe40ef..884ce65 100644
--- a/cub/cmake/cub-config.cmake
+++ b/cub/cmake/cub-config.cmake
2023-10-05 05:25:20 +08:00
@@ -11,6 +11,7 @@ endif()
# Minimum supported libcudacxx version:
set(cub_libcudacxx_version 1.8.0)
+include("${CMAKE_CURRENT_LIST_DIR}/cub-header-search.cmake")
function(_cub_declare_interface_alias alias_name ugly_name)
# 1) Only IMPORTED and ALIAS targets can be placed in a namespace.
# 2) When an IMPORTED library is linked to another target, its include