mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 03:19:19 +08:00
![Jacob Kahn](/assets/img/avatar_default.png)
* [nccl] New Port * Update ports/nccl/portfile.cmake * Add usage to vcpkg-cmake-wrapper * Move usage to usage file * Update ports/nccl/portfile.cmake * Don't copy debug libraries because they aren't provided Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
6 lines
200 B
Plaintext
6 lines
200 B
Plaintext
The package nccl provides CMake variables:
|
|
|
|
find_package(NCCL REQUIRED)
|
|
target_link_libraries(main PRIVATE ${NCCL_LIBRARIES})
|
|
target_include_directories(main PRIVATE ${NCCL_INCLUDE_DIRS})
|