diff options
author | Sergey Bronnikov <sergeyb@tarantool.org> | 2020-12-19 12:16:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-12-21 18:45:12 (GMT) |
commit | 02732930478027f41590681861b131a1e9ee1030 (patch) | |
tree | 8b761c9772be08456bca0a200ecbc47ed9ccd499 | |
parent | d231f429f10e920e08607a7371f6f7e7e17aa93b (diff) | |
download | CMake-02732930478027f41590681861b131a1e9ee1030.zip CMake-02732930478027f41590681861b131a1e9ee1030.tar.gz CMake-02732930478027f41590681861b131a1e9ee1030.tar.bz2 |
create_test_sourcelist: fix typo in placeholder name
Rename `CMAKE_FUNCTION_TABLE_{ENTIRES => ENTRIES}`.
-rw-r--r-- | Source/cmCreateTestSourceList.cxx | 2 | ||||
-rw-r--r-- | Templates/TestDriver.cxx.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx index 9d492ba..3001ae0 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 053f1ee..3e47d6a 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 */ }; |