Fix bug in cmake join function

This commit is contained in:
Владислав Щапов 2021-06-18 21:27:29 +05:00 committed by Victor Zverovich
parent 5221242f6e
commit fd16bcb20c

View File

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