From 9255e8bf06ef15fdbc2faac40d520c6fd7ced0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jack=C2=B7Boos=C2=B7Yu?= <47264268+JackBoosY@users.noreply.github.com> Date: Wed, 13 Jan 2021 16:14:04 -0800 Subject: [qt5-base] Improve the warning message on Linux (#15596) * [qt5-base] Improve the warning message on Linux * [qt5-base] Update warning message --- ports/qt5-base/portfile.cmake | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ports/qt5-base/portfile.cmake b/ports/qt5-base/portfile.cmake index 2bdfc1873..ac02f7d2f 100644 --- a/ports/qt5-base/portfile.cmake +++ b/ports/qt5-base/portfile.cmake @@ -16,9 +16,15 @@ endif() if (VCPKG_TARGET_IS_LINUX) - message(WARNING "${PORT} currently requires the following libraries from the system package manager:\n libx11-xcb-dev\n\nThese can be installed on Ubuntu systems via apt-get install libx11-xcb-dev.") - message(WARNING "${PORT} for qt5-x11extras requires the following libraries from the system package manager:\n libxkbcommon-x11-dev\n\nThese can be installed on Ubuntu systems via apt-get install libxkbcommon-x11-dev.") - # + message(WARNING "qt5-base currently requires some packages from the system package manager, see https://doc.qt.io/qt-5/linux-requirements.html") + message(WARNING +[[ +qt5-base for qt5-x11extras requires the following libraries from the system package manager: + libxkbcommon-x11-dev + +These can be installed on Ubuntu systems via apt-get install libxkbcommon-x11-dev. +]] + ) endif() list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}) -- cgit v1.2.3