summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalData.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-24 18:37:54 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-28 20:31:31 (GMT)
commit52759930bd7a5e1642b16cdc2bde3d23aaaddd2c (patch)
tree68dd18b520c9b1d2a33371c1a51cd878f55e6f5d /Modules/ExternalData.cmake
parent7bb8344d50fa317580068dedd00b019be8a6cb98 (diff)
downloadCMake-52759930bd7a5e1642b16cdc2bde3d23aaaddd2c.zip
CMake-52759930bd7a5e1642b16cdc2bde3d23aaaddd2c.tar.gz
CMake-52759930bd7a5e1642b16cdc2bde3d23aaaddd2c.tar.bz2
ExternalData: Cleanup stray TODO and typo in comments
Remove an outdated TODO line left from earlier designs. Also fix a typo.
Diffstat (limited to 'Modules/ExternalData.cmake')
-rw-r--r--Modules/ExternalData.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/ExternalData.cmake b/Modules/ExternalData.cmake
index 29ddffd..0800bb3 100644
--- a/Modules/ExternalData.cmake
+++ b/Modules/ExternalData.cmake
@@ -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}"