mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
Better error checking.
This commit is contained in:
@@ -494,6 +494,10 @@ void cmMakefile::AddLinkLibraryForTarget(const char *target,
|
||||
push_back(
|
||||
std::pair<std::string, cmTarget::LinkLibraryType>(lib,llt));
|
||||
}
|
||||
else
|
||||
{
|
||||
cmSystemTools::Error("Attempt to add link libraries to non-existant target: ", target, " for lib ", lib);
|
||||
}
|
||||
}
|
||||
|
||||
void cmMakefile::AddLinkLibrary(const char* lib)
|
||||
|
||||
Reference in New Issue
Block a user