mirror of
https://github.com/reactos/CMake.git
synced 2025-02-08 21:09:48 +00:00
Merge topic 'find_package-report-CONFIGS-error'
b3f9fe4 find_package: print error if an invalid CONFIGS name is used
This commit is contained in:
commit
2fb1df42a2
@ -538,6 +538,7 @@ bool cmFindPackageCommand
|
||||
e << "given CONFIGS option followed by invalid file name \""
|
||||
<< args[i] << "\". The names given must be file names without "
|
||||
<< "a path and with a \".cmake\" extension.";
|
||||
this->SetError(e.str().c_str());
|
||||
return false;
|
||||
}
|
||||
this->Configs.push_back(args[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user