mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 16:48:49 -05:00
cmake: use lowercase for function name like the rest of the code
Reviewed-by: Sergei Nikulov closes #3196
This commit is contained in:
parent
7608f9a2d5
commit
07e8ff102f
@ -1133,7 +1133,7 @@ if(CURL_WERROR)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Ugly (but functional) way to include "Makefile.inc" by transforming it (= regenerate it).
|
# 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)
|
file(READ ${INPUT_FILE} MAKEFILE_INC_TEXT)
|
||||||
string(REPLACE "$(top_srcdir)" "\${CURL_SOURCE_DIR}" MAKEFILE_INC_TEXT ${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})
|
string(REPLACE "$(top_builddir)" "\${CURL_BINARY_DIR}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT})
|
||||||
|
Loading…
Reference in New Issue
Block a user