Browse Source

create_test_sourcelist: fix typo in placeholder name

Rename `CMAKE_FUNCTION_TABLE_{ENTIRES => ENTRIES}`.
Sergey Bronnikov 4 years ago
parent
commit
0273293047
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Source/cmCreateTestSourceList.cxx
  2. 1 1
      Templates/TestDriver.cxx.in

+ 1 - 1
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;

+ 1 - 1
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 */
 };