Clean some wayland dependencies.
This commit is contained in:
parent
339a789b8a
commit
b2917e7e5d
7 changed files with 81 additions and 63 deletions
|
@ -36,9 +36,10 @@ list(APPEND TestFiles
|
|||
)
|
||||
endif()
|
||||
|
||||
if (${HAS_WAYLAND})
|
||||
list(APPEND TestFiles
|
||||
windows/TestWaylandWindow.cpp
|
||||
find_package(Wayland QUIET)
|
||||
if(WAYLAND_FOUND)
|
||||
list(APPEND TestFiles
|
||||
windows/TestWaylandWindow.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
|
@ -52,7 +53,7 @@ endif()
|
|||
|
||||
|
||||
find_package(PkgConfig)
|
||||
pkg_check_modules(DBUS dbus-1)
|
||||
pkg_check_modules(DBUS dbus-1 QUIET)
|
||||
if (DBUS_FOUND)
|
||||
include_directories(${DBUS_INCLUDE_DIRS})
|
||||
link_directories(${DBUS_LIBRARY_DIRS})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue