require CMake version 3.16

This commit is contained in:
Axel Kohlmeyer
2023-06-30 22:59:41 -04:00
parent c5d9f901d9
commit 378ef4b23e
24 changed files with 45 additions and 33 deletions

View File

@ -1,10 +1,9 @@
########################################
# CMake build for automated testing
# -*- CMake -*- build file for automated testing
# This file is part of LAMMPS
# Created by Axel Kohlmeyer and Richard Berger
########################################
# download and build googletest framework
# download and build googletest framework
# cannot compile googletest anymore with the default GCC on RHEL 7.x
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.0))
message(FATAL_ERROR "Need GNU C++ compiler version 6.x or later for unit testing")