only compile wayland client when WAYLAND_FOUND

This commit is contained in:
comicfans44 2016-03-14 12:51:50 +00:00
parent 6ebf452513
commit 6603039c2d

View File

@ -36,7 +36,7 @@ if(FREERDP_VENDOR AND WITH_CLIENT)
add_subdirectory(X11) add_subdirectory(X11)
endif() endif()
if(WITH_WAYLAND) if(WITH_WAYLAND AND WAYLAND_FOUND)
add_subdirectory(Wayland) add_subdirectory(Wayland)
endif() endif()