diff options
author | Josh Blum <josh@joshknows.com> | 2011-03-27 04:17:53 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-03-27 04:17:53 -0700 |
commit | eb0777811de2f1f1a486391e05aa467f3c64875b (patch) | |
tree | a2f2f2699c69b1e2346fdd9492b6cdb30ae9fbff /host/Modules | |
parent | feeca81266296b2d20ad9081760a936c3e2ed9c1 (diff) | |
parent | 2249acd9f97e969f619fa87cb206fc9392b9b5fe (diff) | |
download | uhd-eb0777811de2f1f1a486391e05aa467f3c64875b.tar.gz uhd-eb0777811de2f1f1a486391e05aa467f3c64875b.tar.bz2 uhd-eb0777811de2f1f1a486391e05aa467f3c64875b.zip |
Merge branch 'mac_packaging'
Diffstat (limited to 'host/Modules')
-rw-r--r-- | host/Modules/UHDPackage.cmake | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/host/Modules/UHDPackage.cmake b/host/Modules/UHDPackage.cmake index 8ca8995cd..65897ceef 100644 --- a/host/Modules/UHDPackage.cmake +++ b/host/Modules/UHDPackage.cmake @@ -52,6 +52,13 @@ IF(UHD_PACKAGE_MODE STREQUAL AUTO) SET(CPACK_PACKAGE_FILE_NAME "UHD-${UHD_VERSION}-${_os_name}-${_os_version}-${_machine}") ENDIF(LSB_RELEASE_EXECUTABLE AND UNAME_EXECUTABLE) + + IF(APPLE) + SET(CPACK_GENERATOR PackageMaker) + ELSEIF(WIN32) + SET(CPACK_GENERATOR NSIS) + ENDIF() + ENDIF(UHD_PACKAGE_MODE STREQUAL AUTO) ######################################################################## @@ -63,8 +70,9 @@ SET(CPACK_PACKAGE_CONTACT "support@ettus.com") SET(CPACK_PACKAGE_VERSION_MAJOR ${UHD_VERSION_MAJOR}) SET(CPACK_PACKAGE_VERSION_MINOR ${UHD_VERSION_MINOR}) SET(CPACK_PACKAGE_VERSION_PATCH ${UHD_VERSION_PATCH}) -SET(CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/README) -SET(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE) +SET(CPACK_RESOURCE_FILE_WELCOME ${CMAKE_SOURCE_DIR}/README.txt) +SET(CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/AUTHORS.txt) +SET(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE.txt) ######################################################################## # Setup CPack Components |