mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 21:31:20 +00:00
Fix bug in cmake join function
This commit is contained in:
parent
5221242f6e
commit
fd16bcb20c
@ -17,7 +17,7 @@ endif ()
|
|||||||
|
|
||||||
# Joins arguments and places the results in ${result_var}.
|
# Joins arguments and places the results in ${result_var}.
|
||||||
function(join result_var)
|
function(join result_var)
|
||||||
set(result )
|
set(result "")
|
||||||
foreach (arg ${ARGN})
|
foreach (arg ${ARGN})
|
||||||
set(result "${result}${arg}")
|
set(result "${result}${arg}")
|
||||||
endforeach ()
|
endforeach ()
|
||||||
|
Loading…
Reference in New Issue
Block a user