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) +
|
std::string cpackCommand = cmSystemTools::GetFilenamePath(cMakeSelf) +
|
||||||
"/cpack" + cmSystemTools::GetFilenameExtension(cMakeSelf);
|
"/cpack" + cmSystemTools::GetFilenameExtension(cMakeSelf);
|
||||||
if(cmSystemTools::FileExists(ctestCommand.c_str()))
|
if(cmSystemTools::FileExists(cpackCommand.c_str()))
|
||||||
{
|
{
|
||||||
this->CacheManager->AddCacheEntry
|
this->CacheManager->AddCacheEntry
|
||||||
("CMAKE_CPACK_COMMAND", cpackCommand.c_str(),
|
("CMAKE_CPACK_COMMAND", cpackCommand.c_str(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user