diff --git a/subprojects/CMakeLists.txt b/subprojects/CMakeLists.txt index 99d8e567..acbe8142 100644 --- a/subprojects/CMakeLists.txt +++ b/subprojects/CMakeLists.txt @@ -1,3 +1,7 @@ add_subdirectory(appmenu-gtk-module) ADD_SUBDIRECTORY(jayatana) -ADD_SUBDIRECTORY(registrar) +option(ENABLE_REGISTRAR "Enable Appmenu Registrar" ON) + +if(ENABLE_REGISTRAR) + ADD_SUBDIRECTORY(registrar) +endif()