diff options
Diffstat (limited to 'cmake/QtBuild.cmake')
-rw-r--r-- | cmake/QtBuild.cmake | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index f6626730f3..72efb31335 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -1255,12 +1255,7 @@ endfunction() # Takes a list of path components and joins them into one path separated by forward slashes "/", # and saves the path in out_var. function(qt_path_join out_var) - # Remove output variable. - set(argv ${ARGV}) - list(REMOVE_AT argv 0) - - # Join the path components. - string(JOIN "/" path ${argv}) + string(JOIN "/" path ${ARGN}) set(${out_var} ${path} PARENT_SCOPE) endfunction() |