summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmCTest.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 0603237..eb14f64 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -4069,6 +4069,11 @@ int cmCTest::RunCMakeAndTest(std::string* outstring)
generator += m_BuildGenerator;
args.push_back(generator);
}
+ if ( m_ConfigType.size() > 0 )
+ {
+ std::string btype = "-DBUILD_TYPE:STRING=" + m_ConfigType;
+ args.push_back(btype);
+ }
for(k=0; k < m_BuildOptions.size(); ++k)
{