summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-07-31 17:36:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-07-31 17:36:53 (GMT)
commit45b9a2d5750a7a0e6fa6041dd7eb928eae1b1f5f (patch)
treeefd1a76f59a45e19a3105ac2f12c777a27b6d64b /Source/cmake.cxx
parente1ac9227a0f2ee979fe3b4b69d6502e8fb00c6c9 (diff)
downloadCMake-45b9a2d5750a7a0e6fa6041dd7eb928eae1b1f5f.zip
CMake-45b9a2d5750a7a0e6fa6041dd7eb928eae1b1f5f.tar.gz
CMake-45b9a2d5750a7a0e6fa6041dd7eb928eae1b1f5f.tar.bz2
BUG: fix for 7426 bad check for cpack
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 3a0a463..b89ce7e 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -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(),