Browse Source

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 years ago
parent
commit
80d47dd510
1 changed files with 1 additions and 1 deletions
  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")
 
   ###########################################################################