some refactor in Cmake file