Diff of /main/trunk/CMakeLists.txt [r10110] .. [r10111]  Maximize  Restore

Switch to side-by-side view

--- a/main/trunk/CMakeLists.txt
+++ b/main/trunk/CMakeLists.txt
@@ -1330,7 +1330,11 @@
    set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION ${CMAKE_INSTALL_PREFIX}/share/man ${CMAKE_INSTALL_PREFIX}/share/man/man1)
    set(CPACK_GENERATOR RPM)
    set(CPACK_RPM_PACKAGE_NAME ${CPACK_PACKAGE_NAME})
-   set(CPACK_PACKAGE_RELEASE 1)
+   if (DEFINED PROD)
+      set(CPACK_PACKAGE_RELEASE 1)
+   else ()
+      set(CPACK_PACKAGE_RELEASE ${ORX_BLD_LVL})
+   endif ()
    set(CPACK_RPM_PACKAGE_LICENSE "CPL 1.0")
    set(CPACK_RPM_PACKAGE_URL "http://www.oorexx.org/")
    set(CPACK_PACKAGE_CONTACT "wdashley@sourceforge.net")
@@ -1367,7 +1371,11 @@
 if (BUILD_DEB)
    set(CPACK_GENERATOR DEB)
    set(CPACK_DEBIAN_PACKAGE_NAME ${CPACK_PACKAGE_NAME})
-   set(CPACK_PACKAGE_RELEASE 1)
+   if (DEFINED PROD)
+      set(CPACK_PACKAGE_RELEASE 1)
+   else ()
+      set(CPACK_PACKAGE_RELEASE ${ORX_BLD_LVL})
+   endif ()
    set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "http://www.oorexx.org/")
    set(CPACK_PACKAGE_CONTACT "wdashley@sourceforge.net")
    set(CPACK_DEBIAN_PACKAGE_MAINTAINER "David Ashley <wdashley@sourceforge.net>")

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks