diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2021-01-13 16:14:04 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-13 16:14:04 -0800 |
| commit | 9255e8bf06ef15fdbc2faac40d520c6fd7ced0b2 (patch) | |
| tree | c7dcb987a082eda056abbdd5c064c671bcc4b201 | |
| parent | 79edf6dbafd96ad5108aad83b429024fb66c306b (diff) | |
| download | vcpkg-9255e8bf06ef15fdbc2faac40d520c6fd7ced0b2.tar.gz vcpkg-9255e8bf06ef15fdbc2faac40d520c6fd7ced0b2.zip | |
[qt5-base] Improve the warning message on Linux (#15596)
* [qt5-base] Improve the warning message on Linux
* [qt5-base] Update warning message
| -rw-r--r-- | ports/qt5-base/portfile.cmake | 12 |
1 files 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}) |
