aboutsummaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/cmake/DpkgDeb.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/cmake/DpkgDeb.cmake b/linux/cmake/DpkgDeb.cmake
index ed9115681..300ff0bf1 100644
--- a/linux/cmake/DpkgDeb.cmake
+++ b/linux/cmake/DpkgDeb.cmake
@@ -19,7 +19,7 @@
#
# -- 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}
@@ -88,12 +88,12 @@ MACRO(ADD_DEBIAN_PACKAGE DEBNAME)
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}