Commit 81ecc726 authored by James Bigler's avatar James Bigler

FindCUDA: Added some additional comments about non-existent dependency files.

parent 4b561b4c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment