Skip to content

Fix conditions used in cmake.in config file

Ahmad Samir requested to merge work/ahmad/cmake-in into master

Qt5X11Extras_FOUND will be undefined when building with Qt6, and Qt6Gui_FOUND will be undefined when building with Qt5; instead use if (TARGET Qt5::DBus) which will be defined if building with Qt5 by the find_dependency call a couple of lines earlier, so it'll be defined at the time where this file is used.

Merge request reports