aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-10 21:53:13 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-10 21:53:13 +0200
commit0523726117fd3989e4816b16111dc7f5acab1bbc (patch)
treeaf8abdd650465f79aeaecb1dd4c466846c257729
parenta25c5f1645ec6cfbd490f65136552519989ef613 (diff)
parent777d74824925cafdc38e5ae33708638c9d65592e (diff)
downloadlibayatana-indicator-0523726117fd3989e4816b16111dc7f5acab1bbc.tar.gz
libayatana-indicator-0523726117fd3989e4816b16111dc7f5acab1bbc.tar.bz2
libayatana-indicator-0523726117fd3989e4816b16111dc7f5acab1bbc.zip
Merge branch 'tari01-pr/disable-loader'
Attributes GH PR #49: https://github.com/AyatanaIndicators/libayatana-indicator/pull/49
-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}")