Removed an unnecessary code from CMakeLists.txt.