summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-02-05 21:25:30 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-02-05 21:25:30 (GMT)
commit18e875f75fadc93a1c8132420f612e188933de85 (patch)
tree073b0c37e44d88b854593175362a869ff3b85c38 /config/cmake
parentc7d04ee3afc579a078382820ef5f293877b284f7 (diff)
downloadhdf5-18e875f75fadc93a1c8132420f612e188933de85.zip
hdf5-18e875f75fadc93a1c8132420f612e188933de85.tar.gz
hdf5-18e875f75fadc93a1c8132420f612e188933de85.tar.bz2
Fail configure if SZIP/ZLIB is requested but not found
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/scripts/HDF5config.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/cmake/scripts/HDF5config.cmake b/config/cmake/scripts/HDF5config.cmake
index dd3b17c..1d8d501 100644
--- a/config/cmake/scripts/HDF5config.cmake
+++ b/config/cmake/scripts/HDF5config.cmake
@@ -43,6 +43,7 @@ set (CTEST_SOURCE_VERSEXT "")
#INSTALLDIR - HDF5-1.10.0 root folder
#CTEST_CONFIGURATION_TYPE - Release, Debug, RelWithDebInfo
#CTEST_SOURCE_NAME - name of source folder; HDF5-1.10.0
+#MODEL - CDash group name
if (DEFINED CTEST_SCRIPT_ARG)
# transform ctest script arguments of the form
# script.ctest,var1=value1,var2=value2
@@ -169,7 +170,10 @@ endif ()
###################################################################
######### Following is for submission to CDash ############
###################################################################
-set (MODEL "Experimental")
+if (NOT DEFINED MODEL)
+ set (MODEL "Experimental")
+endif ()
+
###################################################################
###################################################################