cmake的版本太低,系统自带的cmake才2.6,更新到cmake2.8.
2017-01-14
#yum remove cmake
#wget http://www.cmake.org/files/v2.8/cmake-2.8.11.2.tar.gz
#tar -xzvf cmake-2.8.11.2.tar.gz
#cd cmake-2.8.11.2
#./configure
#make
#make install