Browse Source

Bump minimum CMake version to 3.10

Niklas Fiekas 7 months ago
parent
commit
e927db7979
2 changed files with 3 additions and 6 deletions
  1. 2 5
      CMakeLists.txt
  2. 1 1
      examples/linux_ws_server_cpp/CMakeLists.txt

+ 2 - 5
CMakeLists.txt

@@ -1,8 +1,5 @@
-# Use at least CMake 3.3
-cmake_minimum_required (VERSION 3.3.0)
-cmake_policy(VERSION 3.2.2)
-cmake_policy(SET CMP0054 NEW)
-cmake_policy(SET CMP0057 NEW)
+cmake_minimum_required(VERSION 3.10)
+cmake_policy(VERSION 3.10)
 
 # Set up the project
 project (civetweb VERSION 1.16.0)

+ 1 - 1
examples/linux_ws_server_cpp/CMakeLists.txt

@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.5.1)
+cmake_minimum_required(VERSION 3.10)
 project(linux_ws_server)
 
 set(TARGET_NAME ${PROJECT_NAME})