diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b0331d8..f5202195 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.16) ################################################################################ # Define our package information. diff --git a/Dockerfile b/Dockerfile index f1269d99..62e290d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,10 +34,10 @@ RUN apt-get update && DEBIAN_FRONTEND=nonitneractive apt-get install -y mpich RUN apt-get update && apt-get install -y openssh-client RUN apt-get update && apt-get install -y openssh-server -# Fetch and install CMake 3.15 as required by Intel-QS build process. -WORKDIR swpkgs/cmake3.15 -RUN wget "https://github.com/Kitware/CMake/releases/download/v3.15.2/cmake-3.15.2-Linux-x86_64.tar.gz" -RUN tar -xzf cmake-3.15.2-Linux-x86_64.tar.gz -C /usr/local/ --strip-components=1 +# Fetch and install CMake 3.16 +WORKDIR swpkgs/cmake3.16.0 +RUN wget "https://github.com/Kitware/CMake/releases/download/v3.16.0/cmake-3.16.0-Linux-x86_64.tar.gz" +RUN tar -xzf cmake-3.16.0-Linux-x86_64.tar.gz -C /usr/local/ --strip-components=1 # Fetch and install the Intel MKL libraries required for building the Intel-QS simulator. WORKDIR swpkgs/mkl diff --git a/cmake/gtest.cmake.in b/cmake/gtest.cmake.in index 37b622bf..40882a47 100644 --- a/cmake/gtest.cmake.in +++ b/cmake/gtest.cmake.in @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.2) +cmake_minimum_required(VERSION 3.16) project(googletest-download NONE) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ffef0348..ea8c2523 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -4,7 +4,7 @@ if (IqsNoise) # Download and unpack eigen library at configure time. - cmake_minimum_required(VERSION 3.12.0) + cmake_minimum_required(VERSION 3.16) include(ExternalProject) ExternalProject_Add(deps-eigen GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git diff --git a/util/BigMPI/CMakeLists.txt b/util/BigMPI/CMakeLists.txt index 5143aa86..58c8765d 100644 --- a/util/BigMPI/CMakeLists.txt +++ b/util/BigMPI/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR) +cmake_minimum_required(VERSION 3.16 FATAL_ERROR) set(PACKAGE_NAME BigMPI) find_package(MPI)