Skip to content

Commit 0235df6

Browse files
powderluvbjosv
authored andcommitted
Newer CMake is going to drop <2.8.12
So update to 2.8.12.2 (in Ubuntu 14.04) CentOS 7 has a way to install CMake3. This avoids the warning in newer CMakes: flatcc/CMakeLists.txt:5 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
1 parent 466991b commit 0235df6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Ubuntu 14.04 (Trusty)
2-
#cmake_minimum_required (VERSION 2.8.12.2)
2+
cmake_minimum_required (VERSION 2.8.12.2)
33
# Centos 7
44
#cmake_minimum_required (VERSION 2.8.11)
5-
cmake_minimum_required (VERSION 2.8)
5+
#cmake_minimum_required (VERSION 2.8)
66

77
# Experimental for generating compile_commands.json so editors with
88
# clangd language server support can use it. Symlink

0 commit comments

Comments
 (0)