Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1b2287e33..0fa6ea15a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -354,6 +354,22 @@ if(AVAHI_FOUND)
add_definitions(-DHAVE_LIBAVAHI_CLIENT)
endif()
+option(WITH_ICON_CACHE "Generate the icon cache during install target" ON)
+if(WITH_ICON_CACHE)
+ message(STATUS "Icon cache will be generated")
+ add_definitions(-DWITH_ICON_CACHE)
+else()
+ message(STATUS "Icons cache won't be generated automatically")
+endif()
+
+option(WITH_UPDATE_DESKTOP_DB "Generate desktop files MIME types cache database" ON)
+if(WITH_UPDATE_DESKTOP_DB)
+ message(STATUS "Desktop MIME types cache database enabled")
+ add_definitions(-DWITH_UPDATE_DESKTOP_DB)
+else()
+ message(STATUS "Desktop MIME types cache database won't be generated")
+endif()
+
if(GTK_FOUND)
pkg_check_modules(gio REQUIRED gio-2.0)
pkg_check_modules(gio-unix REQUIRED gio-unix-2.0)