When an array is passed to subroutines as argument in perl, a list containing its element is returned from the array. Currently @$ arguments are being passed, then it is going to be one list including all the elements not only from @ but also from $. As a result, $additionalCMakeArgs in sub generateBuildSystemFromCMakeProject is not being used.
Created attachment 270569 [details] Patch
I saw this bug but I decided that nobody needs $additionalCMakeArgs.
(In reply to comment #2) > I saw this bug but I decided that nobody needs $additionalCMakeArgs. If the variable doesn't needed anymore, then maybe is it ok to be removed instead?
Looks like --cmakeargs works fine with this issue present, so it seems to be a good idea to remove dead code.
(In reply to comment #4) > Looks like --cmakeargs works fine with this issue present, so it seems to be > a good idea to remove dead code. All right, then I'm gonna remove this thing immediately.
Created attachment 270571 [details] Patch
LGTM.
Comment on attachment 270571 [details] Patch Clearing flags on attachment: 270571 Committed r196085: <http://trac.webkit.org/changeset/196085>
All reviewed patches have been landed. Closing bug.