BUG: fix for 7426 bad check for cpack
This commit is contained in:
parent
e1ac9227a0
commit
45b9a2d575
|
@ -857,7 +857,7 @@ int cmake::AddCMakePaths()
|
|||
}
|
||||
std::string cpackCommand = cmSystemTools::GetFilenamePath(cMakeSelf) +
|
||||
"/cpack" + cmSystemTools::GetFilenameExtension(cMakeSelf);
|
||||
if(cmSystemTools::FileExists(ctestCommand.c_str()))
|
||||
if(cmSystemTools::FileExists(cpackCommand.c_str()))
|
||||
{
|
||||
this->CacheManager->AddCacheEntry
|
||||
("CMAKE_CPACK_COMMAND", cpackCommand.c_str(),
|
||||
|
|
Loading…
Reference in New Issue