Skip to content

Commit 89d862a

Browse files
committed
Fix wheel dependency discovery in Python builds
1 parent b148818 commit 89d862a

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎python/cuvs/CMakeLists.txt‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# =============================================================================
22
# cmake-format: off
3-
# SPDX-FileCopyrightText: Copyright (c) 2022-2026, NVIDIA CORPORATION.
3+
# SPDX-FileCopyrightText: Copyright (c) 2022-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44
# SPDX-License-Identifier: Apache-2.0
55
# cmake-format: on
66
# =============================================================================
@@ -24,6 +24,9 @@ project(
2424
C CXX CUDA
2525
)
2626

27+
# Find C++ libraries from RAPIDS wheels in site-packages.
28+
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE)
29+
2730
# ##################################################################################################
2831
# * Process User Options ------------------------------------------------------
2932

‎python/libcuvs/CMakeLists.txt‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# =============================================================================
22
# cmake-format: off
3-
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION.
3+
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44
# SPDX-License-Identifier: Apache-2.0
55
# cmake-format: on
66
# =============================================================================
@@ -18,6 +18,9 @@ project(
1818
LANGUAGES CXX CUDA
1919
)
2020

21+
# Find C++ libraries from RAPIDS wheels in site-packages.
22+
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE)
23+
2124
option(USE_NCCL_RUNTIME_WHEEL "Use the NCCL wheel at runtime instead of the system library" OFF)
2225

2326
# Check if cuVS is already available. If so, it is the user's responsibility to ensure that the

0 commit comments

Comments
 (0)