here, Im installing vim plugin YCM and hit cmake version issue.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | [suse@t430z YouCompleteMe]$ ./install.sh --clang-completer -- Configuring incomplete, errors occurred! Traceback (most recent call last):   File "/home/suse/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 196, in <module>     Main()   File "/home/suse/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 189, in Main     BuildYcmdLibs( GetCmakeArgs( args ) )   File "/home/suse/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py", line 147, in BuildYcmdLibs     sh.cmake( *full_cmake_args, _out = sys.stdout )   File "/home/suse/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/sh/sh.py", line 1021, in __call__     return RunningCommand(cmd, call_args, stdin, stdout, stderr)   File "/home/suse/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/sh/sh.py", line 486, in __init__     self.wait()   File "/home/suse/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/sh/sh.py", line 500, in wait     self.handle_command_exit_code(exit_code)   File "/home/suse/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/sh/sh.py", line 516, in handle_command_exit_code     raise exc(self.ran, self.process.stdout, self.process.stderr) sh.ErrorReturnCode_1:    RAN: '/usr/bin/cmake -G Unix Makefiles -DUSE_CLANG_COMPLETER=ON /home/suse/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp'   STDOUT:   STDERR: CMake Error at CMakeLists.txt:23 (cmake_minimum_required):   CMake 2.8.12 or higher is required.  You are running version 2.8.11 | 
Step to fix:
1. fetch src.rpm
https://kojipkgs.fedoraproject.org//packages/cmake/2.8.12/3.fc21/src/cmake-2.8.12-3.fc21.src.rpm
2. build/rebuild
| 1 2 |   yum-builddep cmake-2.8.12-3.fc21.src.rpm    rpmbuild --rebuild cmake-2.8.12-3.fc21.src.rpm | 
3. install new generated package.
| 1 2 3 4 5 6 | [root@t430z x86_64]# rpm -Uvh cmake-2.8.12-3.el7.centos.x86_64.rpm Preparing...                          ################################# [100%] Updating / installing...    1:cmake-2.8.12-3.el7.centos        ################################# [ 50%] Cleaning up / removing...    2:cmake-2.8.11-4.el7               ################################# [100%] | 
4. also I v put my rpms here:
Link:
http://pan.baidu.com/s/1o6OB8ro
EL7/src.RPMs_IF_YOU_NEED/cmake-2.8.12-3.fc21.src.rpm
/rpm/
cmake-2.8.12-3.el7.centos.x86_64.rpm
cmake-debuginfo-2.8.12-3.el7.centos.x86_64.rpm
cmake-doc-2.8.12-3.el7.centos.x86_64.rpm
cmake-gui-2.8.12-3.el7.centos.x86_64.rpm