cmake: fixed compatibility with version 2.8.0
authorBernhard Miklautz <bmiklautz@thinstuff.at>
Fri, 23 Nov 2012 14:12:52 +0000 (14:12 +0000)
committerBernhard Miklautz <bmiklautz@thinstuff.at>
Fri, 23 Nov 2012 14:12:52 +0000 (14:12 +0000)
commit7d6f012097698c722320f6da6604f4e7d10c0cb1
treeadb243fce753eb5e70906393ffcab799bca10610
parentd81c0be0b9330b255ee1287d9e17fa9d5b36c40b
cmake: fixed compatibility with version 2.8.0

* enable_cmake_compat to enable compatibility for specific cmake versions
* added required files for 2.8.2 and 2.8.6 (taken from a recent cmake version)
CMakeLists.txt
cmake/CheckCmakeCompat.cmake
cmake/compat_2.8.2/FindPkgConfig.cmake [new file with mode: 0644]
cmake/compat_2.8.6/FeatureSummary.cmake [new file with mode: 0644]