build: update cmake_minimum_required to 3.5
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 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.
1 files changed, 1 insertions(+), 1 deletions(-)
CMakeLists.txt+1-1
| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | | cmake_minimum_required(VERSION 2.8.12) |
| 1 | cmake_minimum_required(VERSION 3.5) |
| 2 | 2 | |
| 3 | 3 | if(NOT CMAKE_BUILD_TYPE) |
| 4 | 4 | set(CMAKE_BUILD_TYPE "Debug" CACHE STRING |