Skip to content

Commit

Permalink
Bump minimum CMake version to 3.16
Browse files Browse the repository at this point in the history
  • Loading branch information
gbabin committed Jan 14, 2025
1 parent b3489ea commit 0faef6c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.16)

#set(CMAKE_C_COMPILER "/usr/bin/clang")
#set(CMAKE_CXX_COMPILER "/usr/bin/clang++")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ current directory.

### Dependencies (to build and run on a GNU/Linux platform)

- CMake (2.8+)
- CMake (3.16+)
- make (or some CMake-supported IDE)
- C++ compiler with C++11 & OpenMP support
- pthread
Expand Down
4 changes: 1 addition & 3 deletions client/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cmake_minimum_required(VERSION 2.8.12)

cmake_policy(SET CMP0015 NEW)
cmake_minimum_required(VERSION 3.16)

#Configuration du projet
project(client)
Expand Down
2 changes: 1 addition & 1 deletion common/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.16)

#Configuration du projet
project(common)
Expand Down
4 changes: 1 addition & 3 deletions server/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cmake_minimum_required(VERSION 2.8.12)

cmake_policy(SET CMP0015 NEW)
cmake_minimum_required(VERSION 3.16)

#Configuration du projet
project(server)
Expand Down

0 comments on commit 0faef6c

Please sign in to comment.