mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-26 00:20:06 -06:00
Merge topic 'use-launchers'
7d2a6bc67d launchers: issue a message when rules are not defined
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10268
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user