diff --git a/cmake/Modules/Packages/GPU.cmake b/cmake/Modules/Packages/GPU.cmake index be824edfc1..7c05c02b68 100644 --- a/cmake/Modules/Packages/GPU.cmake +++ b/cmake/Modules/Packages/GPU.cmake @@ -116,9 +116,6 @@ elseif(GPU_API STREQUAL "OPENCL") if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - if(CMAKE_VERSION VERSION_LESS 3.11) - message(FATAL_ERROR "Downloading OpenCL currently only works with cmake-3.11 and higher") - endif() # download and unpack support binaries for compilation of windows binaries. set(LAMMPS_THIRDPARTY_URL "http://download.lammps.org/thirdparty") file(DOWNLOAD "${LAMMPS_THIRDPARTY_URL}/opencl-win-devel.tar.gz" "${CMAKE_CURRENT_BINARY_DIR}/opencl-win-devel.tar.gz" diff --git a/cmake/Modules/Packages/KOKKOS.cmake b/cmake/Modules/Packages/KOKKOS.cmake index 3041433f1a..d2b8f19167 100644 --- a/cmake/Modules/Packages/KOKKOS.cmake +++ b/cmake/Modules/Packages/KOKKOS.cmake @@ -1,9 +1,6 @@ option(EXTERNAL_KOKKOS "Build against external kokkos library" OFF) option(DOWNLOAD_KOKKOS "Download the KOKKOS library instead of using the bundled one" OFF) if(DOWNLOAD_KOKKOS) - if(CMAKE_VERSION VERSION_LESS 3.11) - message(FATAL_ERROR "Downloading kokkos currently only works with cmake-3.11 and higher") - endif() message(STATUS "KOKKOS download requested - we will build our own") file(DOWNLOAD https://github.com/kokkos/kokkos/compare/3.0.00...stanmoore1:lammps.diff ${CMAKE_CURRENT_BINARY_DIR}/kokkos-lammps.patch) include(ExternalProject)