Merge topic 'watcom-workaround'

ceebac93 Tests: Restore fix to Plugin test on Watcom compiler
This commit is contained in:
Brad King 2016-06-10 09:09:50 -04:00 committed by CMake Topic Stage
commit 5d078868f0
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,9 @@ int main()
kwsys::DynamicLoader::LibraryHandle handle =
kwsys::DynamicLoader::OpenLibrary(libName.c_str());
if (!handle) {
std::cerr << "Could not open plugin \"" << libName << "\"!" << std::endl;
// Leave the .c_str() on this one. It is needed on OpenWatcom.
std::cerr << "Could not open plugin \"" << libName.c_str() << "\"!"
<< std::endl;
return 1;
}
kwsys::DynamicLoader::SymbolPointer sym =