aboutsummaryrefslogtreecommitdiff
path: root/ports/cudnn/usage
diff options
context:
space:
mode:
authorJacob Kahn <jacobkahn1@gmail.com>2021-05-18 02:28:38 -0500
committerGitHub <noreply@github.com>2021-05-18 00:28:38 -0700
commita0bed696328bc593165a23bf118e20486a2c7fa7 (patch)
tree020de3975b3469324ad142e55e0991fb36cb23c2 /ports/cudnn/usage
parentd77e7675990ac4c5727a40c50b91da59aada8333 (diff)
downloadvcpkg-a0bed696328bc593165a23bf118e20486a2c7fa7.tar.gz
vcpkg-a0bed696328bc593165a23bf118e20486a2c7fa7.zip
[cudnn] Fix port: install find module, add usage (#17644)
* [cudnn] Fix port * [cudnn] Update version * x-add-version again...
Diffstat (limited to 'ports/cudnn/usage')
-rw-r--r--ports/cudnn/usage10
1 files changed, 10 insertions, 0 deletions
diff --git a/ports/cudnn/usage b/ports/cudnn/usage
new file mode 100644
index 000000000..f528e0154
--- /dev/null
+++ b/ports/cudnn/usage
@@ -0,0 +1,10 @@
+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)