cmake: set the right variable

Status Job ID Name Coverage
  External
passed kwrobot-branch-check