aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2018-10-30 17:45:46 +0300
committerDaniel Stenberg <daniel@haxx.se>2018-12-24 22:59:33 +0100
commit07e8ff102f8986afbc0f0e3f557e05c85576fc9a (patch)
treebe5486f1db0e58e00685094f6116261e641f2b56
parent7608f9a2d57c26320a35f07d36fe20f6bde92fc4 (diff)
cmake: use lowercase for function name like the rest of the code
Reviewed-by: Sergei Nikulov closes #3196
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e11f519c8..db443de31 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1133,7 +1133,7 @@ if(CURL_WERROR)
endif()
# Ugly (but functional) way to include "Makefile.inc" by transforming it (= regenerate it).
-function(TRANSFORM_MAKEFILE_INC INPUT_FILE OUTPUT_FILE)
+function(transform_makefile_inc INPUT_FILE OUTPUT_FILE)
file(READ ${INPUT_FILE} MAKEFILE_INC_TEXT)
string(REPLACE "$(top_srcdir)" "\${CURL_SOURCE_DIR}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
string(REPLACE "$(top_builddir)" "\${CURL_BINARY_DIR}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})