require CMake version 3.10. remove tests for older versions.

This commit is contained in:
Axel Kohlmeyer
2020-03-04 14:28:33 -05:00
parent 6354777d09
commit a972850b39
5 changed files with 1 additions and 17 deletions

View File

@ -1,7 +1,4 @@
if(PKG_GPU)
if (CMAKE_VERSION VERSION_LESS "3.1")
message(FATAL_ERROR "For the GPU package you need at least cmake-3.1")
endif()
set(GPU_SOURCES_DIR ${LAMMPS_SOURCE_DIR}/GPU)
set(GPU_SOURCES ${GPU_SOURCES_DIR}/gpu_extra.h
${GPU_SOURCES_DIR}/fix_gpu.h