Skip to content

Commit 46d3af6

Browse files
committed
fix(cmake): guard rapidsmpf::rapidsmpf alias to avoid conflict with cudf_streaming CPM
1 parent c6d9a04 commit 46d3af6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cpp/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@ target_compile_definitions(
339339

340340
rapids_cuda_set_runtime(rapidsmpf USE_STATIC ON)
341341

342-
add_library(rapidsmpf::rapidsmpf ALIAS rapidsmpf)
342+
if(NOT TARGET rapidsmpf::rapidsmpf)
343+
add_library(rapidsmpf::rapidsmpf ALIAS rapidsmpf)
344+
endif()
343345

344346
# ##################################################################################################
345347
# * linter configuration ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)