From 714e6dba3bec05e794ee635e0b9986f766987e06 Mon Sep 17 00:00:00 2001 From: Naim Date: Thu, 14 Mar 2024 05:07:20 +0100 Subject: [PATCH] Update CMakeLists.txt --- .../developers/vertex_and_edge_partition/CMakeLists.txt | 2 +- cpp/examples/users/multi_gpu_application/CMakeLists.txt | 2 +- cpp/examples/users/single_gpu_application/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/examples/developers/vertex_and_edge_partition/CMakeLists.txt b/cpp/examples/developers/vertex_and_edge_partition/CMakeLists.txt index 29df4a0d75d..431bd60dcb2 100644 --- a/cpp/examples/developers/vertex_and_edge_partition/CMakeLists.txt +++ b/cpp/examples/developers/vertex_and_edge_partition/CMakeLists.txt @@ -29,5 +29,5 @@ include(../../../cmake/thirdparty/get_nccl.cmake) add_executable(vertex_and_edge_partition vertex_and_edge_partition.cu) set_target_properties(vertex_and_edge_partition PROPERTIES CUDA_ARCHITECTURES "native") -target_link_libraries(vertex_and_edge_partition PUBLIC cugraph::cugraph NCCL::NCCL MPI::MPI_CXX) +target_link_libraries(vertex_and_edge_partition PRIVATE cugraph::cugraph NCCL::NCCL MPI::MPI_CXX) target_compile_features(vertex_and_edge_partition PRIVATE cxx_std_17) diff --git a/cpp/examples/users/multi_gpu_application/CMakeLists.txt b/cpp/examples/users/multi_gpu_application/CMakeLists.txt index 4f885d59812..357f2e539a7 100644 --- a/cpp/examples/users/multi_gpu_application/CMakeLists.txt +++ b/cpp/examples/users/multi_gpu_application/CMakeLists.txt @@ -29,5 +29,5 @@ include(../../../cmake/thirdparty/get_nccl.cmake) add_executable(mg_graph_algorithms mg_graph_algorithms.cpp) set_target_properties(mg_graph_algorithms PROPERTIES CUDA_ARCHITECTURES "native") -target_link_libraries(mg_graph_algorithms PUBLIC cugraph::cugraph NCCL::NCCL MPI::MPI_CXX) +target_link_libraries(mg_graph_algorithms PRIVATE cugraph::cugraph NCCL::NCCL MPI::MPI_CXX) target_compile_features(mg_graph_algorithms PRIVATE cxx_std_17) diff --git a/cpp/examples/users/single_gpu_application/CMakeLists.txt b/cpp/examples/users/single_gpu_application/CMakeLists.txt index 72e4922b85d..276be3728a8 100644 --- a/cpp/examples/users/single_gpu_application/CMakeLists.txt +++ b/cpp/examples/users/single_gpu_application/CMakeLists.txt @@ -26,5 +26,5 @@ include(../../fetch_dependencies.cmake) add_executable(sg_graph_algorithms sg_graph_algorithms.cpp) set_target_properties(sg_graph_algorithms PROPERTIES CUDA_ARCHITECTURES "native") -target_link_libraries(sg_graph_algorithms PUBLIC cugraph::cugraph) +target_link_libraries(sg_graph_algorithms PRIVATE cugraph::cugraph) target_compile_features(sg_graph_algorithms PRIVATE cxx_std_17)