Generate debs on linux only.
This commit is contained in:
parent
8e836591ee
commit
3e3c8a4d18
@ -43,7 +43,11 @@ INSTALL(FILES
|
||||
|
||||
# Add packaging support
|
||||
INCLUDE(InstallRequiredSystemLibraries)
|
||||
SET(CPACK_GENERATOR "TGZ;DEB")
|
||||
|
||||
IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
SET(CPACK_GENERATOR "TGZ;DEB")
|
||||
ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
|
||||
SET(CPACK_PACKAGE_NAME "nvidia-texture-tools")
|
||||
SET(CPACK_PACKAGE_VERSION "2.1.0")
|
||||
SET(CPACK_PACKAGE_CONTACT "Ignacio Castaño <icastano@nvidia.com>")
|
||||
@ -52,7 +56,7 @@ SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "GPU-accelerated Texture Tools with suppor
|
||||
|
||||
SET(CPACK_PACKAGE_ICON "${NV_SOURCE_DIR}/project/vc8/nvcompress/nvidia.ico")
|
||||
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${NV_SOURCE_DIR}/README.txt")
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${NV_SOURCE_DIR}/NVIDIA_Texture_Tools_README.txt")
|
||||
SET(CPACK_RESOURCE_FILE_LICENSE "${NV_SOURCE_DIR}/NVIDIA_Texture_Tools_LICENSE.txt")
|
||||
|
||||
INCLUDE(CPack)
|
||||
|
Loading…
Reference in New Issue
Block a user