aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-06-10 17:21:34 +0200
committerRobert Tari <robert@tari.in>2021-06-10 17:21:34 +0200
commit777d74824925cafdc38e5ae33708638c9d65592e (patch)
treeaf8abdd650465f79aeaecb1dd4c466846c257729
parenta25c5f1645ec6cfbd490f65136552519989ef613 (diff)
downloadlibayatana-indicator-777d74824925cafdc38e5ae33708638c9d65592e.tar.gz
libayatana-indicator-777d74824925cafdc38e5ae33708638c9d65592e.tar.bz2
libayatana-indicator-777d74824925cafdc38e5ae33708638c9d65592e.zip
Add option to disable Loader build/installation
-rw-r--r--CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3ca49ee..593fc94 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@ endif()
option(FLAVOUR_GTK2 "Build against GTK+-2.0" OFF)
option(FLAVOUR_GTK3 "Build against GTK+-3.0" ON)
-
+option(ENABLE_LOADER "Build Ayatana Indicator Loader" ON)
option(ENABLE_IDO "Enable IDO specific code" ON)
if (FLAVOUR_GTK2)
@@ -78,7 +78,12 @@ endif()
add_subdirectory(src)
add_subdirectory(data)
-add_subdirectory(tools)
+
+if (ENABLE_LOADER)
+
+ add_subdirectory(tools)
+
+endif()
set (COVERAGE_TEST_EXECUTABLES
"service-manager-connect"
@@ -124,5 +129,6 @@ endif()
message(STATUS "Install prefix: ${CMAKE_INSTALL_PREFIX}")
message(STATUS "GTK+-3.0 build: ${FLAVOUR_GTK3}")
message(STATUS "GTK+-2.0 build: ${FLAVOUR_GTK2}")
+message(STATUS "Loader enabled ${ENABLE_LOADER}")
message(STATUS "IDO enabled: ${ENABLE_IDO}")
message(STATUS "Unit tests: ${ENABLE_TESTS}")