diff options
author | Daniel M. Weeks <dan@danweeks.net> | 2012-02-02 23:15:17 +0400 |
---|---|---|
committer | Daniel M. Weeks <dan@danweeks.net> | 2012-02-02 23:15:17 +0400 |
commit | 1f3b2a78b529202471b212f8f053a27c16d77474 (patch) | |
tree | 7059cd270c197f9e016e746217a19855a50c6b00 /CMakeLists.txt | |
parent | b09c902ba901d6c5dafe3edb445d39f1ef40c862 (diff) |
cmake: check for avahi after gtk
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 44f4d437e..465e90562 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,12 +92,6 @@ if(GCRYPT_FOUND) add_definitions(-DHAVE_LIBGCRYPT) endif() -find_suggested_package(AVAHI) -if(AVAHI_FOUND) - add_definitions(-DHAVE_LIBAVAHI_UI) - add_definitions(-DHAVE_LIBAVAHI_CLIENT) -endif() - find_required_package(GTK) if(GTK_FOUND) add_subdirectory(remmina) @@ -105,6 +99,12 @@ if(GTK_FOUND) add_subdirectory(remmina-plugins-gnome) endif() +find_suggested_package(AVAHI) +if(AVAHI_FOUND) + add_definitions(-DHAVE_LIBAVAHI_UI) + add_definitions(-DHAVE_LIBAVAHI_CLIENT) +endif() + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_SOURCE_DIR}/config.h) install(DIRECTORY include/remmina DESTINATION include/remmina FILES_MATCHING PATTERN "*.h") |