summaryrefslogtreecommitdiffstats
path: root/release_docs/USING_HDF5_CMake.txt
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/USING_HDF5_CMake.txt
parentc1cc4a123fd1a7b3acdad6c3d9376168c87108b0 (diff)
downloadhdf5-e835063ebfada628b80046cc8328d8771abd9e11.zip
hdf5-e835063ebfada628b80046cc8328d8771abd9e11.tar.gz
hdf5-e835063ebfada628b80046cc8328d8771abd9e11.tar.bz2
Change CMake min to 3.10
Diffstat (limited to 'release_docs/USING_HDF5_CMake.txt')
-rw-r--r--release_docs/USING_HDF5_CMake.txt4
1 files changed, 2 insertions, 2 deletions
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: