From f53220dc201ba9ace215d517d857998e1e205fc7 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 26 Feb 2020 09:50:38 -0600 Subject: Move MODEL check to before usage in CTestScript.cmake. --- config/cmake/scripts/CTestScript.cmake | 8 ++++++++ config/cmake/scripts/HDF5config.cmake | 7 ------- 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 ##### -- cgit v0.12