[cmake] do not build tests on make all