summaryrefslogtreecommitdiffstats
path: root/host/Modules
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-28 13:44:36 -0700
committerJosh Blum <josh@joshknows.com>2011-03-28 13:44:36 -0700
commit69d19fedd3fd7945a21daac0ae14c06fee78ee91 (patch)
tree995f7959fa0a4047a7bf777dc4275f4e85a98a99 /host/Modules
parentc6c4b01e09efc037aa44dbf8cdba1c705747bd2f (diff)
downloaduhd-69d19fedd3fd7945a21daac0ae14c06fee78ee91.tar.gz
uhd-69d19fedd3fd7945a21daac0ae14c06fee78ee91.tar.bz2
uhd-69d19fedd3fd7945a21daac0ae14c06fee78ee91.zip
uhd: various packing fixes (lib suffix, and library components)
1) setup lib suffix for fedora 64 2) specify component for all library target types (should fix missing library files problem)
Diffstat (limited to 'host/Modules')
-rw-r--r--host/Modules/UHDPackage.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/Modules/UHDPackage.cmake b/host/Modules/UHDPackage.cmake
index 65637ab16..e7aa386f6 100644
--- a/host/Modules/UHDPackage.cmake
+++ b/host/Modules/UHDPackage.cmake
@@ -48,6 +48,11 @@ IF(UHD_RELEASE_MODE)
SET(CPACK_GENERATOR RPM)
ENDIF()
+ #when the library suffix should be 64 (applies to redhat linux family)
+ IF(EXISTS "/etc/redhat-release" AND _machine MATCHES "64$")
+ SET(LIB_SUFFIX 64)
+ ENDIF()
+
#set a more sensible package name for this system
SET(CPACK_PACKAGE_FILE_NAME "UHD-${UHD_VERSION}-${_os_name}-${_os_version}-${_machine}")