From: Ruslan Baratov Date: Tue, 30 Oct 2018 14:45:46 +0000 (+0300) Subject: cmake: use lowercase for function name like the rest of the code X-Git-Tag: curl-7_64_0~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07e8ff102f8986afbc0f0e3f557e05c85576fc9a;p=curl cmake: use lowercase for function name like the rest of the code Reviewed-by: Sergei Nikulov closes #3196 --- 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})