Refactoring in CMake.
UT