• James Bigler's avatar
    FindCUDA: Fix for when a non-existent dependency file is found. · 4b561b4c
    James Bigler authored
    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. :(
make2cmake.cmake 3.38 KB