diff options
author | David Cole <david.cole@kitware.com> | 2012-03-02 16:48:09 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-03-02 16:48:09 (GMT) |
commit | 2fb1df42a25ef922a81d03d85317954ed5cfe8bf (patch) | |
tree | 884ebac50b48a21039fd861b87df61aa1ba0442c | |
parent | 0eb520f47c0e6192819964e13487e0ea27cdb719 (diff) | |
parent | b3f9fe42f949515dfdb2635bc0031c5b1b807dc0 (diff) | |
download | CMake-2fb1df42a25ef922a81d03d85317954ed5cfe8bf.zip CMake-2fb1df42a25ef922a81d03d85317954ed5cfe8bf.tar.gz CMake-2fb1df42a25ef922a81d03d85317954ed5cfe8bf.tar.bz2 |
Merge topic 'find_package-report-CONFIGS-error'
b3f9fe4 find_package: print error if an invalid CONFIGS name is used
-rw-r--r-- | Source/cmFindPackageCommand.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 22bb628..b0a7607 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -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]); |