ENH: use cpack generic variable if rpm one is not set
This commit is contained in:
parent
ec79fff862
commit
09c49cf658
|
@ -98,7 +98,11 @@ ENDIF(NOT CPACK_RPM_PACKAGE_GROUP)
|
|||
|
||||
# CPACK_RPM_PACKAGE_VENDOR
|
||||
IF(NOT CPACK_RPM_PACKAGE_VENDOR)
|
||||
SET(CPACK_RPM_PACKAGE_VENDOR "unknown")
|
||||
IF(CPACK_PACKAGE_VENDOR)
|
||||
SET(CPACK_RPM_PACKAGE_VENDOR "${CPACK_PACKAGE_VENDOR}")
|
||||
ELSE(CPACK_PACKAGE_VENDOR)
|
||||
SET(CPACK_RPM_PACKAGE_VENDOR "unknown")
|
||||
ENDIF(CPACK_PACKAGE_VENDOR)
|
||||
ENDIF(NOT CPACK_RPM_PACKAGE_VENDOR)
|
||||
|
||||
# CPACK_RPM_PACKAGE_SOURCE
|
||||
|
|
Loading…
Reference in New Issue