diff options
author | James Bigler <jamesbigler@gmail.com> | 2016-02-05 21:32:01 (GMT) |
---|---|---|
committer | James Bigler <jamesbigler@gmail.com> | 2016-02-05 21:32:01 (GMT) |
commit | 4b561b4cb528a3d6fee6baa79dacfff31923a9b6 (patch) | |
tree | 9a64bbef82882beea8d80afa2fd19f8e3b1113f8 /CONTRIBUTING.rst | |
parent | 5ee00b71e94f5daa985b8453ae67b125ea0983d9 (diff) | |
download | CMake-4b561b4cb528a3d6fee6baa79dacfff31923a9b6.zip CMake-4b561b4cb528a3d6fee6baa79dacfff31923a9b6.tar.gz CMake-4b561b4cb528a3d6fee6baa79dacfff31923a9b6.tar.bz2 |
FindCUDA: Fix for when a non-existent dependency file is found.
Previously if a non-existent dependency file is found we set the file to "" and
then do if(NOT IS_DIRECTORY "${file}"). Later we call get_filename_component
on the empty file which returns basically the current build directory.
Having a dependency on the current build directory is really annoying, because
anything that compiles into that directory will change the file stamp and
cause your files to rebuild every time you call make. :(
Diffstat (limited to 'CONTRIBUTING.rst')
0 files changed, 0 insertions, 0 deletions