mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Following #157188, this PR removes FindPackageHandleStandardArgs.cmake Pull Request resolved: https://github.com/pytorch/pytorch/pull/156559 Approved by: https://github.com/albanD
11 lines
459 B
CMake
11 lines
459 B
CMake
# This is a wrapper of the upstream `./upstream/FindCUDA.cmake` that
|
|
# automatically includes `./upstream/CMakeInitializeConfigs.cmake` before
|
|
# `./upstream/FindCUDA.cmake`. The `CMakeInitializeConfigs.cmake`, which is
|
|
# absent in old CMake versions, creates some necessary variables for the later
|
|
# to run.
|
|
# See ./README.md for details.
|
|
|
|
set(UPSTREAM_FIND_CUDA_DIR "${CMAKE_CURRENT_LIST_DIR}/upstream/")
|
|
|
|
include("${UPSTREAM_FIND_CUDA_DIR}/FindCUDA.cmake")
|