#
# -- OPTIONAL Variables
# Architecture: ${DEBIAN_ARCHITECTURE}, by default i386 for intel on debian like
-# Depends: ${PACKAGE_DEPENDS}
+# Depends: ${CPACK_DEBIAN_PACKAGE_DEPENDS}
# Section: ${PACKAGE_SECTION}
# Priority: ${PACKAGE_PRIORITY}
# Essential: ${PACKAGE_ESSENTIAL}
ARGS -E echo "Architecture: ${DEBIAN_ARCHITECTURE}" >> ${CONTROL_FILE}
)
- IF ( DEFINED PACKAGE_DEPENDS )
+ IF ( DEFINED CPACK_DEBIAN_PACKAGE_DEPENDS )
ADD_CUSTOM_COMMAND( OUTPUT ${CONTROL_FILE}
COMMAND ${CMAKE_COMMAND} -E echo
- "Depends: ${PACKAGE_DEPENDS}" >> ${CONTROL_FILE}
+ "Depends: ${CPACK_DEBIAN_PACKAGE_DEPENDS}" >> ${CONTROL_FILE}
APPEND )
- ENDIF ( DEFINED PACKAGE_DEPENDS )
+ ENDIF ( DEFINED CPACK_DEBIAN_PACKAGE_DEPENDS )
IF ( DEFINED PACKAGE_SECTION )
ADD_CUSTOM_COMMAND( OUTPUT ${CONTROL_FILE}