diff options
author | Marc-André Moreau <marcandre.moreau@gmail.com> | 2011-11-26 06:32:38 +0400 |
---|---|---|
committer | Marc-André Moreau <marcandre.moreau@gmail.com> | 2011-11-26 06:32:38 +0400 |
commit | be226288ec6372c626728cf6708a2d42fd7e61a8 (patch) | |
tree | 81a89cfc14ece478570e1076e522f27686399641 /CMakeLists.txt | |
parent | ca8466ff1331b76b5b6ffdab97df2eac0994d560 (diff) |
cmake: remove unneeded libvncserver files
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ad9a8acab..4178b72f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,6 +84,11 @@ set(REMMINA_PLUGINDIR "${CMAKE_INSTALL_PREFIX}/lib/remmina/plugins") configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_SOURCE_DIR}/config.h) +find_suggested_package(SSH) +if(SSH_FOUND) + add_definitions(-DHAVE_LIBSSH) +endif() + find_suggested_package(PTHREAD) if(PTHREAD_FOUND) add_definitions(-DHAVE_PTHREAD) @@ -91,7 +96,13 @@ endif() find_suggested_package(GCRYPT) if(GCRYPT_FOUND) - add_definitions(-DHAVE_GCRYPT) + add_definitions(-DHAVE_LIBGCRYPT) +endif() + +find_suggested_package(AVAHI) +if(AVAHI_FOUND) + add_definitions(-DHAVE_LIBAVAHI_UI) + add_definitions(-DHAVE_LIBAVAHI_CLIENT) endif() add_subdirectory(remmina) |