summaryrefslogtreecommitdiffstats
path: root/config/cmake/scripts
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-02-05 22:21:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-02-05 22:21:29 (GMT)
commitfb4e5c0570f94d548ade5fb5c16878271f6a06a9 (patch)
tree84167c49440affbe00c5daf0d43ccdf6bb79462b /config/cmake/scripts
parent9063babaaa9b3c11a686ca9faefb70aa2091c21a (diff)
downloadhdf5-fb4e5c0570f94d548ade5fb5c16878271f6a06a9.zip
hdf5-fb4e5c0570f94d548ade5fb5c16878271f6a06a9.tar.gz
hdf5-fb4e5c0570f94d548ade5fb5c16878271f6a06a9.tar.bz2
HDFFV-10697 Disable compression option if source unavailable
Diffstat (limited to 'config/cmake/scripts')
-rwxr-xr-xconfig/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 f8e6f9b..c92fa5b 100755
--- a/config/cmake/scripts/HDF5config.cmake
+++ b/config/cmake/scripts/HDF5config.cmake
@@ -43,6 +43,7 @@ set (CTEST_SOURCE_VERSEXT "-snap1")
#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 ()
+
###################################################################
###################################################################