浏览代码

HPCC-2345 Debug fails to build package

The - separator is not allowed in rpms.

Using an underscore SEEMS to work in both Ubuntu and Centos, but without
having tested ever distro version, perhaps no separator at all is safer.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 12 年之前
父节点
当前提交
80d47dd510
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cmake_modules/commonSetup.cmake

+ 1 - 1
cmake_modules/commonSetup.cmake

@@ -360,7 +360,7 @@ IF ("${COMMONSETUP_DONE}" STREQUAL "")
   set(version ${majorver}.${minorver}.${point})
 
   IF ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
-    set( stagever "${stagever}-Debug" )
+    set( stagever "${stagever}Debug" )
   ENDIF ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
 
   ###########################################################################