create_test_sourcelist: fix typo in placeholder name

Rename `CMAKE_FUNCTION_TABLE_{ENTIRES => ENTRIES}`.
This commit is contained in:
Sergey Bronnikov 2020-12-19 15:16:28 +03:00 committed by Brad King
parent d231f429f1
commit 0273293047
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -34,7 +34,7 @@ typedef struct /* NOLINT */
} functionMapEntry;
static functionMapEntry cmakeGeneratedFunctionMapEntries[] = {
@CMAKE_FUNCTION_TABLE_ENTIRES@
@CMAKE_FUNCTION_TABLE_ENTRIES@
{ CM_NULL, CM_NULL } /* NOLINT */
};