yuzu/externals/vcpkg/ports/cudnn/usage

11 lines
323 B
Plaintext
Raw Normal View History

2022-07-23 05:01:36 +04:00
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)