diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-10-15 18:33:11 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-10-15 18:33:11 (GMT) |
commit | 876645af517f6ac6e7681d0c8bac65cd8c6c1510 (patch) | |
tree | ced707d9a3029f8fbe7b3f2b5b3c90dc29d678b5 /Source/cmLoadCommandCommand.cxx | |
parent | e4e920ef6cb2064f929f85626cd4d351e30803d1 (diff) | |
download | CMake-876645af517f6ac6e7681d0c8bac65cd8c6c1510.zip CMake-876645af517f6ac6e7681d0c8bac65cd8c6c1510.tar.gz CMake-876645af517f6ac6e7681d0c8bac65cd8c6c1510.tar.bz2 |
better warning message
Diffstat (limited to 'Source/cmLoadCommandCommand.cxx')
-rw-r--r-- | Source/cmLoadCommandCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx index 70107cf..857422c 100644 --- a/Source/cmLoadCommandCommand.cxx +++ b/Source/cmLoadCommandCommand.cxx @@ -205,7 +205,8 @@ bool cmLoadCommandCommand::InitialPass(std::vector<std::string> const& argsIn) if(!lib) { std::string err = "Attempt to load the library "; - err += fullPath + " failed"; + err += fullPath + " failed. Additional error info is:\n"; + err += cmDynamicLoader::LastError(); this->SetError(err.c_str()); return false; } |