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,9 +1,8 @@
##########################################
# CMake build system for coupling to the LAMMPS library
# -*- CMake -*- file for example programs that use the LAMMPS library
# where the library is loaded dynamically at runtime.
##########################################
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.16)
# enforce out-of-source build
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})

View File

@ -1,4 +1,6 @@
cmake_minimum_required(VERSION 3.10)
# -*- CMake -*- file for simple examples using the LAMMPS library interface
cmake_minimum_required(VERSION 3.16)
# enforce out-of-source build
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})

View File

@ -1,10 +1,9 @@
##########################################
# CMake build system for plugin examples.
# -*- CMake -*- build system for plugin examples.
# The is meant to be used as a template for plugins that are
# distributed independent from the LAMMPS package.
##########################################
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.16)
project(paceplugin VERSION 1.0 LANGUAGES CXX)

View File

@ -1,5 +1,4 @@
##########################################
# CMake build system for plugin examples.
# -*- CMake -*- file for building plugins.
# The is meant to be used as a template for plugins that are
# distributed independent from the LAMMPS package.
##########################################

View File

@ -1,10 +1,9 @@
##########################################
# CMake build system for plugin examples.
# -*- CMake -*- file for plugin examples.
# The is meant to be used as a template for plugins that are
# distributed independent from the LAMMPS package.
##########################################
cmake_minimum_required(VERSION 3.10)
cmake_minimum_required(VERSION 3.16)
# enforce out-of-source build
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})