Windows minimum required is already 3.12.
This change avoids this warning:
CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
(Same as in libpcap.)
(cherry picked from commit
9b05cc18ec7b5450bc668f9386d73c92bbfc3491)
# environment variable when running pkg-config, to make sure
# it finds any .pc file from there.
#
- cmake_minimum_required(VERSION 2.8.6)
+ cmake_minimum_required(VERSION 2.8.12)
endif(WIN32)
#