summaryrefslogtreecommitdiffstats
path: root/release_docs
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-03-09 18:38:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-03-09 18:38:48 (GMT)
commite835063ebfada628b80046cc8328d8771abd9e11 (patch)
treebab7cc48b724d184aba731154ed30d4a3a485a78 /release_docs
parentc1cc4a123fd1a7b3acdad6c3d9376168c87108b0 (diff)
downloadhdf5-e835063ebfada628b80046cc8328d8771abd9e11.zip
hdf5-e835063ebfada628b80046cc8328d8771abd9e11.tar.gz
hdf5-e835063ebfada628b80046cc8328d8771abd9e11.tar.bz2
Change CMake min to 3.10
Diffstat (limited to 'release_docs')
-rw-r--r--release_docs/INSTALL_CMake.txt2
-rw-r--r--release_docs/USING_HDF5_CMake.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/release_docs/INSTALL_CMake.txt b/release_docs/INSTALL_CMake.txt
index 2c8bc1a..d464ef8 100644
--- a/release_docs/INSTALL_CMake.txt
+++ b/release_docs/INSTALL_CMake.txt
@@ -645,7 +645,7 @@ adding an option (${CTEST_SCRIPT_ARG}) to the platform configuration script.
### ctest -S HDF518config.cmake,BUILD_GENERATOR=VS201264 -C Release -VV -O hdf518.log ###
#############################################################################################
-cmake_minimum_required(VERSION 3.2.2 FATAL_ERROR)
+cmake_minimum_required (VERSION 3.10)(VERSION 3.2.2 FATAL_ERROR)
############################################################################
# Usage:
# ctest -S HDF518config.cmake,OPTION=VALUE -C Release -VV -O test.log
diff --git a/release_docs/USING_HDF5_CMake.txt b/release_docs/USING_HDF5_CMake.txt
index dbd2ddc..caa0c1d 100644
--- a/release_docs/USING_HDF5_CMake.txt
+++ b/release_docs/USING_HDF5_CMake.txt
@@ -180,7 +180,7 @@ Given the preconditions in section I, create a CMakeLists.txt file at the
source root. Include the following text in the file:
##########################################################
-cmake_minimum_required (VERSION 3.10.1)
+cmake_minimum_required (VERSION 3.10) (VERSION 3.10.1)
project (HDF5MyApp C CXX)
set (LIB_TYPE STATIC) # or SHARED
@@ -229,7 +229,7 @@ your application with an installed HDF5 binary.
ctest use of HDF518_Examples.cmake and HDF5_Examples_options.cmake
========================================================================
-cmake_minimum_required(VERSION 3.2.2 FATAL_ERROR)
+cmake_minimum_required (VERSION 3.10)(VERSION 3.2.2 FATAL_ERROR)
###############################################################################################################
# This script will build and run the examples from a folder
# Execute from a command line: