launchers: issue a message when rules are not defined
This commit is contained in:
parent
f0cc688c10
commit
7d2a6bc67d
@ -2662,11 +2662,11 @@ int cmake::ActualConfigure()
|
||||
|
||||
if (mf->IsOn("CTEST_USE_LAUNCHERS") &&
|
||||
!this->State->GetGlobalProperty("RULE_LAUNCH_COMPILE")) {
|
||||
cmSystemTools::Error(
|
||||
"CTEST_USE_LAUNCHERS is enabled, but the "
|
||||
"RULE_LAUNCH_COMPILE global property is not defined.\n"
|
||||
"Did you forget to include(CTest) in the toplevel "
|
||||
"CMakeLists.txt ?");
|
||||
this->IssueMessage(MessageType::FATAL_ERROR,
|
||||
"CTEST_USE_LAUNCHERS is enabled, but the "
|
||||
"RULE_LAUNCH_COMPILE global property is not defined.\n"
|
||||
"Did you forget to include(CTest) in the toplevel "
|
||||
"CMakeLists.txt ?");
|
||||
}
|
||||
// Setup launchers for instrumentation
|
||||
#if !defined(CMAKE_BOOTSTRAP)
|
||||
|
Loading…
Reference in New Issue
Block a user