summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/CMakeLists.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index a58b396..cc59910 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -307,12 +307,12 @@ if (${RELEASE_ID} IN_LIST DebianBasedOS)
set(CPACK_DEBIAN_PACKAGE_DEPENDS "vpp (>= ${vpp_version}), vpp-plugin-core (>= ${vpp_version})")
# Print Debian package summary
- message("\nDebian package:")
- message(" Name: ${CPACK_DEBIAN_PACKAGE_NAME}")
- message(" Version: ${CPACK_DEBIAN_PACKAGE_VERSION}")
- message(" Description: ${CPACK_DEBIAN_PACKAGE_DESCRIPTION}")
- message(" File name: ${CPACK_DEBIAN_PACKAGE_FILE_NAME}")
- message(" Depends on: ${CPACK_DEBIAN_PACKAGE_DEPENDS}\n")
+ message(INFO "\nDebian package:")
+ info("Name:" "${CPACK_DEBIAN_PACKAGE_NAME}")
+ info("Version:" "${CPACK_DEBIAN_PACKAGE_VERSION}")
+ info("Description:" "${CPACK_DEBIAN_PACKAGE_DESCRIPTION}")
+ info("File name:" "${CPACK_DEBIAN_PACKAGE_FILE_NAME}")
+ info("Depends on:" "${CPACK_DEBIAN_PACKAGE_DEPENDS}\n")
elseif (${RELEASE_ID} IN_LIST RHBasedOS)
set(CPACK_GENERATOR RPM)
@@ -341,13 +341,13 @@ elseif (${RELEASE_ID} IN_LIST RHBasedOS)
set(CPACK_RPM_PACKAGE_DEPENDS "vpp (>= ${vpp_version}), vpp-plugins (>= ${vpp_version})")
# Print CentOS package summary
- message("\nRPM package:")
- message(" Name: ${CPACK_RPM_PACKAGE_NAME}")
- message(" Version: ${CPACK_RPM_PACKAGE_VERSION}")
- message(" Release: ${CPACK_RPM_PACKAGE_RELEASE}")
- message(" Description: ${CPACK_RPM_PACKAGE_DESCRIPTION}")
- message(" File name: ${CPACK_PACKAGE_FILE_NAME}")
- message(" Depends on: ${CPACK_RPM_PACKAGE_DEPENDS}\n")
+ message(INFO "\nRPM package:")
+ info("Name:" "${CPACK_RPM_PACKAGE_NAME}")
+ info("Version:" "${CPACK_RPM_PACKAGE_VERSION}")
+ info("Release:" "${CPACK_RPM_PACKAGE_RELEASE}")
+ info("Description:" "${CPACK_RPM_PACKAGE_DESCRIPTION}")
+ info("File name:" "${CPACK_PACKAGE_FILE_NAME}")
+ info("Depends on:" "${CPACK_RPM_PACKAGE_DEPENDS}\n")
endif ()
if (PackZip)
list(APPEND CPACK_GENERATOR ZIP)