Fix compatibility with older versions of CMake
Fix compatibility with older versions of CMake

The "SONAME_FLAG" was introduced in CMake 2.8.9, while the current CMake scripts require 2.8.4 (first line of CMakeLists.txt). Increasing the required CMake version will block building in less recent OSes (e.g., for Ubuntu 12.04 LTS, the latest version from the official repositories is currently 2.8.7). The more compatible solution will be to use the old variable name, i.e. the one which was used before CMake was patched.

NB: this issue is triggered upon specifying -DBUILD_SHARED_LIBS=ON.

Related bug report: http://public.kitware.com/Bug/view.php?id=13884 
Commit which implemented this new variable: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e1409ac5
Chilledheart/gflags,wangg12/gflags,goulgold/gflags,wangg12/gflags,wangg12/gflags,wangg12/gflags,gflags/gflags,fuchsia-mirror/third_party-gflags,fuchsia-mirror/third_party-gflags,keenbrowne/gflags,xunzhang/gflags,goulgold/gflags,bssrdf/gflags,PhdDone/gflags,snoopspy/gflags,n054/gflags,hemprasad/gflags,hurricane1026/gflags,hurricane1026/gflags,ChenglongChen/gflags,xsmart/gflags,hurricane1026/gflags,schuhschuh/gflags,jonathanmarvens/gflags,PhdDone/gflags,hemprasad/gflags,xunzhang/gflags,snoopspy/gflags,xsmart/gflags,hemprasad/gflags,xunzhang/gflags,wangyikai/gflags,b3sigma/gflags,xsmart/gflags,xunzhang/gflags,n054/gflags,gflags/gflags,xsmart/gflags,snoopspy/gflags,ChenglongChen/gflags,n054/gflags,Chilledheart/gflags,Chilledheart/gflags,ChenglongChen/gflags,hemprasad/gflags,b3sigma/gflags,hurricane1026/gflags,fuchsia-mirror/third_party-gflags,gflags/gflags,keenbrowne/gflags,bssrdf/gflags,wangyikai/gflags,goulgold/gflags,snoopspy/gflags,PhdDone/gflags,gflags/gflags,b3sigma/gflags,b3sigma/gflags,ChenglongChen/gflags,jonathanmarvens/gflags,PhdDone/gflags,schuhschuh/gflags,goulgold/gflags,wangyikai/gflags,schuhschuh/gflags,jonathanmarvens/gflags,Chilledheart/gflags,bssrdf/gflags,wangyikai/gflags,bssrdf/gflags,fuchsia-mirror/third_party-gflags,n054/gflags,keenbrowne/gflags,keenbrowne/gflags,schuhschuh/gflags