]> granicus.if.org Git - json-c/commit
cmake: Bump required version
authorAlexander Dahl <post@lespocky.de>
Thu, 12 Jul 2018 19:25:38 +0000 (21:25 +0200)
committerAlexander Dahl <post@lespocky.de>
Thu, 12 Jul 2018 19:25:38 +0000 (21:25 +0200)
commit901d59b29fd733c8ca4d1af6cbf4dc3bc07d62a1
tree272dd4125a710cb0b40e9f21cee32d13054dcc8c
parent3df1f98b4ab52f271dba5e13ec59cf4d1d093e1a
cmake: Bump required version

Using 'project(foo VERSION 1.0)' requires CMake 3.0, the VERSION option
is not part of CMake 2.8.7, see:

* https://cmake.org/cmake/help/v2.8.7/cmake.html#command:project
* https://cmake.org/cmake/help/v3.0/release/3.0.0.html#commands

The property C_STANDARD was introduced with CMake 3.1, see:

* https://cmake.org/cmake/help/v3.1/release/3.1.0.html#properties

Signed-off-by: Alexander Dahl <post@lespocky.de>
CMakeLists.txt