[qt5-base] Improve the warning message on Linux (#15596)

* [qt5-base] Improve the warning message on Linux

* [qt5-base] Update warning message
This commit is contained in:
Jack·Boos·Yu 2021-01-13 16:14:04 -08:00 committed by GitHub
parent 79edf6dbaf
commit 9255e8bf06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -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})