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:
parent
7bb8344d50
commit
52759930bd
|
@ -315,7 +315,6 @@ function(_ExternalData_arg target arg options var_file)
|
||||||
if(IS_ABSOLUTE "${data}")
|
if(IS_ABSOLUTE "${data}")
|
||||||
set(absdata "${data}")
|
set(absdata "${data}")
|
||||||
else()
|
else()
|
||||||
# TODO: If ${data} does not start in "./" or "../" then use search path?
|
|
||||||
get_filename_component(absdata "${CMAKE_CURRENT_SOURCE_DIR}/${data}" ABSOLUTE)
|
get_filename_component(absdata "${CMAKE_CURRENT_SOURCE_DIR}/${data}" ABSOLUTE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -465,7 +464,7 @@ macro(_ExternalData_arg_series)
|
||||||
list(GET tuple 2 ext)
|
list(GET tuple 2 ext)
|
||||||
|
|
||||||
# Glob files that might match the series.
|
# 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_base "${relbase}")
|
||||||
_ExternalData_exact_regex(series_ext "${ext}")
|
_ExternalData_exact_regex(series_ext "${ext}")
|
||||||
_ExternalData_arg_find_files("${relbase}*${ext}"
|
_ExternalData_arg_find_files("${relbase}*${ext}"
|
||||||
|
|
Loading…
Reference in New Issue