cmake: remove warning about unused arguments

Try to fix broken nightly build