Skip to content

Commit 901d59b

Browse files
committed
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 <[email protected]>
1 parent 3df1f98 commit 901d59b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
22

3-
cmake_minimum_required(VERSION 2.8.7)
3+
cmake_minimum_required(VERSION 3.1)
44
cmake_policy(SET CMP0048 NEW)
55
project(json-c VERSION 0.13.99)
66

0 commit comments

Comments
 (0)