1
0
Fork 0

glib dependency is needed for hime only

This commit is contained in:
Ilya Fedin 2020-01-31 04:41:50 +04:00 committed by John Preston
parent 22b099429a
commit c0e7994802

View file

@ -243,11 +243,14 @@ else()
X11
X11-xcb
dl
glib-2.0
pthread
)
if (Qt5DBus_FOUND)
# needed for hime only
target_link_libraries(external_qt INTERFACE glib-2.0)
endif()
find_library(DBUS_LIBRARY dbus-1)
if (DBUS_LIBRARY)
if (Qt5DBus_FOUND AND DBUS_LIBRARY)
target_link_libraries(external_qt INTERFACE dbus-1)
endif()
endif()