diff options
author | James Bigler <jamesbigler@gmail.com> | 2016-02-05 21:50:29 (GMT) |
---|---|---|
committer | James Bigler <jamesbigler@gmail.com> | 2016-02-05 21:50:29 (GMT) |
commit | 81ecc7263754ad96e3aa77ec4d60b72c49cc1409 (patch) | |
tree | d05386c869c97f68ab9dad9040de908ebaf2645e /Modules | |
parent | 4b561b4cb528a3d6fee6baa79dacfff31923a9b6 (diff) | |
download | CMake-81ecc7263754ad96e3aa77ec4d60b72c49cc1409.zip CMake-81ecc7263754ad96e3aa77ec4d60b72c49cc1409.tar.gz CMake-81ecc7263754ad96e3aa77ec4d60b72c49cc1409.tar.bz2 |
FindCUDA: Added some additional comments about non-existent dependency files.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindCUDA/make2cmake.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindCUDA/make2cmake.cmake b/Modules/FindCUDA/make2cmake.cmake index 7b3ca03..b841f3b 100644 --- a/Modules/FindCUDA/make2cmake.cmake +++ b/Modules/FindCUDA/make2cmake.cmake @@ -67,6 +67,8 @@ if (NOT "${depend_text}" STREQUAL "") endif() endif() + # Make sure we check to see if we have a file, before asking if it is not a directory. + # if(NOT IS_DIRECTORY "") will return TRUE. if(file AND NOT IS_DIRECTORY "${file}") # If softlinks start to matter, we should change this to REALPATH. For now we need # to flatten paths, because nvcc can generate stuff like /bin/../include instead of |