vcpkg/ports/cudnn/usage
Jacob Kahn a0bed69632
[cudnn] Fix port: install find module, add usage (#17644)
* [cudnn] Fix port

* [cudnn] Update version

* x-add-version again...
2021-05-18 00:28:38 -07:00

11 lines
323 B
Plaintext

The package cudnn provides CMake variables:
find_package(CUDNN REQUIRED)
target_link_libraries(main PRIVATE ${CUDNN_LIBRARIES})
target_include_directories(main PRIVATE ${CUDNN_INCLUDE_DIRS})
Or the following CMake target:
find_package(CUDNN REQUIRED)
target_link_libraries(main PRIVATE CuDNN::CuDNN)