diff --git a/README.md b/README.md index 99147afd..9c7ed142 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ cJSON is written in ANSI C (C89) in order to support as many platforms and compi #### CMake -With CMake, cJSON supports a full blown build system. This way you get the most features. CMake with an equal or higher version than 2.8.5 is supported. With CMake it is recommended to do an out of tree build, meaning the compiled files are put in a directory separate from the source files. So in order to build cJSON with CMake on a Unix platform, make a `build` directory and run CMake inside it. +With CMake, cJSON supports a full blown build system. This way you get the most features. CMake with an equal or higher version than 3.5 is supported. With CMake it is recommended to do an out of tree build, meaning the compiled files are put in a directory separate from the source files. So in order to build cJSON with CMake on a Unix platform, make a `build` directory and run CMake inside it. ``` mkdir build diff --git a/library_config/uninstall.cmake b/library_config/uninstall.cmake index e751ec47..a4006682 100644 --- a/library_config/uninstall.cmake +++ b/library_config/uninstall.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.5) +cmake_minimum_required(VERSION 3.5) set(MANIFEST "${CMAKE_CURRENT_BINARY_DIR}/install_manifest.txt")