summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bronnikov <sergeyb@tarantool.org>2020-12-19 15:16:28 +0300
committerBrad King <brad.king@kitware.com>2020-12-21 13:45:12 -0500
commit02732930478027f41590681861b131a1e9ee1030 (patch)
tree8b761c9772be08456bca0a200ecbc47ed9ccd499
parentd231f429f10e920e08607a7371f6f7e7e17aa93b (diff)
downloadcmake-02732930478027f41590681861b131a1e9ee1030.tar.gz
create_test_sourcelist: fix typo in placeholder name
Rename `CMAKE_FUNCTION_TABLE_{ENTIRES => ENTRIES}`.
-rw-r--r--Source/cmCreateTestSourceList.cxx2
-rw-r--r--Templates/TestDriver.cxx.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index 9d492ba845..3001ae09a9 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -125,7 +125,7 @@ bool cmCreateTestSourceList(std::vector<std::string> const& args,
mf.AddDefinition("CMAKE_TESTDRIVER_ARGVC_FUNCTION", function);
}
mf.AddDefinition("CMAKE_FORWARD_DECLARE_TESTS", forwardDeclareCode);
- mf.AddDefinition("CMAKE_FUNCTION_TABLE_ENTIRES", functionMapCode);
+ mf.AddDefinition("CMAKE_FUNCTION_TABLE_ENTRIES", functionMapCode);
bool res = true;
if (!mf.ConfigureFile(configFile, driver, false, true, false)) {
res = false;
diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in
index 053f1ee381..3e47d6a0d2 100644
--- a/Templates/TestDriver.cxx.in
+++ b/Templates/TestDriver.cxx.in
@@ -34,7 +34,7 @@ typedef struct /* NOLINT */
} functionMapEntry;
static functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
- @CMAKE_FUNCTION_TABLE_ENTIRES@
+ @CMAKE_FUNCTION_TABLE_ENTRIES@
{ CM_NULL, CM_NULL } /* NOLINT */
};