cmake: use lowercase for function name like the rest of the code

Reviewed-by: Sergei Nikulov

closes #3196
This commit is contained in:
Ruslan Baratov 2018-10-30 17:45:46 +03:00 committed by Daniel Stenberg
parent 7608f9a2d5
commit 07e8ff102f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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})