mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Cmake build: Use find_package(Qt5X11Extras ...) independent of OS
We need to know, if Qt5 is built over X11 in order to test with xvkbd, which manipulates XEvents. Qt5X11Extras is independent of underlying OS.
This commit is contained in:
parent
f63146c019
commit
c2d9a22639
@ -556,9 +556,8 @@ if(LYX_USE_QT MATCHES "QT5")
|
||||
find_package(Qt5Widgets REQUIRED)
|
||||
if(APPLE)
|
||||
find_package(Qt5MacExtras)
|
||||
elseif(UNIX)
|
||||
find_package(Qt5X11Extras)
|
||||
endif()
|
||||
find_package(Qt5X11Extras QUIET)
|
||||
set(QTVERSION ${Qt5Core_VERSION})
|
||||
macro (qt_use_modules)
|
||||
qt5_use_modules(${ARGN})
|
||||
|
Loading…
Reference in New Issue
Block a user