diff options
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index 546e42f..12ce015 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -23,7 +23,7 @@ bool cmTryCompileCommand if(this->Makefile->GetCMakeInstance()->GetWorkingMode() == cmake::FIND_PACKAGE_MODE) { - cmSystemTools::Error( + this->Makefile->IssueMessage(cmake::FATAL_ERROR, "The TRY_COMPILE() command is not supported in --find-package mode."); return false; } |