Commit 73a75abc authored by Antenore Gatta's avatar Antenore Gatta Committed by GitHub

Merge pull request #1263 from diogocp/vnc-optional

Make building the VNC plugin optional
parents a412dad1 5b6be4e4
......@@ -53,8 +53,6 @@ if(LIBSSH_FOUND)
target_link_libraries(remmina ${SSH_LIBRARIES})
endif()
find_required_package(LIBVNCSERVER)
find_required_package(XKBFILE)
if(LIBSSH_FOUND AND XKBFILE_FOUND)
......@@ -73,9 +71,8 @@ if(TELEPATHY_FOUND)
add_subdirectory(telepathy)
endif()
find_suggested_package(ZLIB)
if(ZLIB_FOUND)
find_suggested_package(LIBVNCSERVER)
if(LIBVNCSERVER_FOUND)
add_subdirectory(vnc)
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment