cmake: simplify the state clearing command
cmake: simplify the state clearing command

I'll be using this in the next commit which will require just one
COMMAND statement.

sysrepo/sysrepo,sysrepo/sysrepo,sysrepo/sysrepo