diff --git a/Code/Mantid/CMakeLists.txt b/Code/Mantid/CMakeLists.txt
index 8d0ad569a4758280de45b1521216775fb55c683c..b0e7ff3f1be1e5eb43edea76271bdeebd3561ba8 100644
--- a/Code/Mantid/CMakeLists.txt
+++ b/Code/Mantid/CMakeLists.txt
@@ -244,7 +244,7 @@ if ( ENABLE_CPACK )
                                      "liboce-foundation8,liboce-modeling8,"
                                      "libmuparser2,"
                                      "ipython-qtconsole (>= 1.1),python-matplotlib,python-scipy" )
-	  set ( PERFTOOLS_DEBPACKAGE "libgoogle-perftools4 (>= 1.7)" )
+          set ( PERFTOOLS_DEB_PACKAGE "libgoogle-perftools4 (>= 1.7)" )
         else()
           message( WARNING "Mantid does not support packaging of this Ubuntu version: ${UNIX_CODENAME}")
         endif()