Download cmake/ThrustAddSubdir.cmake from camenduru/thrust: direct link, hf CLI and curl.
- Browser
- Download file 225 Bytes
-
https://huggingface.co/camenduru/thrust/resolve/main/cmake/ThrustAddSubdir.cmake
- Command line
-
hf download hf://camenduru/thrust/cmake/ThrustAddSubdir.cmake
-
curl -L -o ThrustAddSubdir.cmake https://huggingface.co/camenduru/thrust/resolve/main/cmake/ThrustAddSubdir.cmake
225 Bytes
| find_package(Thrust REQUIRED CONFIG | |
| NO_DEFAULT_PATH # Only check the explicit path in HINTS: | |
| HINTS "${CMAKE_CURRENT_LIST_DIR}/.." | |
| COMPONENTS ${THRUST_REQUIRED_SYSTEMS} | |
| OPTIONAL_COMPONENTS ${THRUST_OPTIONAL_SYSTEMS} | |
| ) | |