mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
a0bed69632
* [cudnn] Fix port * [cudnn] Update version * x-add-version again...
11 lines
323 B
Plaintext
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)
|