summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-02-26 15:50:38 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-02-26 15:50:38 (GMT)
commitf53220dc201ba9ace215d517d857998e1e205fc7 (patch)
tree1042faec5001a1e55678fc17cb9977923445ca49
parent1775d6c9bc86862f120bd39865840ed152c47b0a (diff)
downloadhdf5-f53220dc201ba9ace215d517d857998e1e205fc7.zip
hdf5-f53220dc201ba9ace215d517d857998e1e205fc7.tar.gz
hdf5-f53220dc201ba9ace215d517d857998e1e205fc7.tar.bz2
Move MODEL check to before usage in CTestScript.cmake.
-rw-r--r--config/cmake/scripts/CTestScript.cmake8
-rw-r--r--config/cmake/scripts/HDF5config.cmake7
2 files changed, 8 insertions, 7 deletions
diff --git a/config/cmake/scripts/CTestScript.cmake b/config/cmake/scripts/CTestScript.cmake
index 01335b8..e3659f6 100644
--- a/config/cmake/scripts/CTestScript.cmake
+++ b/config/cmake/scripts/CTestScript.cmake
@@ -253,6 +253,14 @@ endforeach ()
message (STATUS "Dashboard script configuration:\n${vars}\n")
#-----------------------------------------------------------------------------
+
+###################################################################
+######### Following is for submission to CDash ############
+###################################################################
+if (NOT DEFINED MODEL)
+ set (MODEL "Experimental")
+endif ()
+
#-----------------------------------------------------------------------------
## NORMAL process
## -- LOCAL_UPDATE updates the source folder from svn
diff --git a/config/cmake/scripts/HDF5config.cmake b/config/cmake/scripts/HDF5config.cmake
index 10ab5f2..45f96fe 100644
--- a/config/cmake/scripts/HDF5config.cmake
+++ b/config/cmake/scripts/HDF5config.cmake
@@ -189,13 +189,6 @@ endif ()
###################################################################
###################################################################
-######### Following is for submission to CDash ############
-###################################################################
-if (NOT DEFINED MODEL)
- set (MODEL "Experimental")
-endif ()
-
-###################################################################
###################################################################
##### Following controls CDash submission #####