]> granicus.if.org Git - curl/commitdiff
cmake: use lowercase for function name like the rest of the code
authorRuslan Baratov <ruslan_baratov@yahoo.com>
Tue, 30 Oct 2018 14:45:46 +0000 (17:45 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 24 Dec 2018 21:59:33 +0000 (22:59 +0100)
Reviewed-by: Sergei Nikulov
closes #3196

CMakeLists.txt

index e11f519c8e6a79727a0588fe87816f69228f7693..db443de315a721429f4792d8c27219c878405078 100644 (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})