summaryrefslogtreecommitdiffstats
path: root/Licenses
diff options
context:
space:
mode:
authorJames Bigler <jamesbigler@gmail.com>2016-02-05 21:32:01 (GMT)
committerJames Bigler <jamesbigler@gmail.com>2016-02-05 21:32:01 (GMT)
commit4b561b4cb528a3d6fee6baa79dacfff31923a9b6 (patch)
tree9a64bbef82882beea8d80afa2fd19f8e3b1113f8 /Licenses
parent5ee00b71e94f5daa985b8453ae67b125ea0983d9 (diff)
downloadCMake-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 'Licenses')
0 files changed, 0 insertions, 0 deletions