ExternalData: Cleanup stray TODO and typo in comments

Remove an outdated TODO line left from earlier designs.
Also fix a typo.
This commit is contained in:
Brad King 2013-01-24 13:37:54 -05:00
parent 7bb8344d50
commit 52759930bd
1 changed files with 1 additions and 2 deletions

View File

@ -315,7 +315,6 @@ function(_ExternalData_arg target arg options var_file)
if(IS_ABSOLUTE "${data}")
set(absdata "${data}")
else()
# TODO: If ${data} does not start in "./" or "../" then use search path?
get_filename_component(absdata "${CMAKE_CURRENT_SOURCE_DIR}/${data}" ABSOLUTE)
endif()
@ -465,7 +464,7 @@ macro(_ExternalData_arg_series)
list(GET tuple 2 ext)
# Glob files that might match the series.
# Then match match base, number, and extension.
# Then match base, number, and extension.
_ExternalData_exact_regex(series_base "${relbase}")
_ExternalData_exact_regex(series_ext "${ext}")
_ExternalData_arg_find_files("${relbase}*${ext}"