pytorch/cmake/Modules_CUDA_fix
Marat Dukhan c9cc514df4 Bump minimum CMake version to 3.2
CMake 3.2 is required to properly track dependencies in projects imported as ExternalProject_Add (BUILD_BYPRODUCTS parameter).
Users on Ubuntu 14.04 LTS would need to install and use cmake3 package for configurations. Users of other popular distributions generally have a recent enough CMake package.
2018-03-06 19:57:48 -08:00
..
FindCUDA
FindCUDA.cmake Bump minimum CMake version to 3.2 2018-03-06 19:57:48 -08:00
FindPackageHandleStandardArgs.cmake
FindPackageMessage.cmake
README.txt

This folder contains fixes that are introduced in later versions of
cmake but cause generator expression errors in earlier cmake versions.
Specifically:

(1) a problem where a generator expression for include directories was
passed to NVCC, where the generator expression itself was prefixed by -I.
As the NNPACK include directory generator expression expands to multiple directories, the second and later ones were not prefixed by -I, causing
nvcc to return an error. First fixed in CMake 3.7 (see
Kitware/CMake@7ded655f).

(2) Windows VS2017 fixes that allows one to define the ccbin path
differently between earlier versions of Visual Studio and VS2017. First
introduced after 3.10.1 master version (see Kitware/CMake@bc88329e).

If you need to update files under this folder, we recommend you issue PRs
against the CMake mainline branch, and then backport it here for earlier
CMake compatibility.