From b648477b91e3cb1aefd5b6b8fdd94ffbbd79fcb1 Mon Sep 17 00:00:00 2001 From: Davi Ribeiro <104164579+Markus328@users.noreply.github.com> Date: Fri, 29 Aug 2025 01:07:47 -0300 Subject: nix: better nix develop + refactor (#490) --- CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a29625f..513e9de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,8 +26,13 @@ set(INSTALL_QSCONFDIR "etc/xdg/quickshell/caelestia" CACHE STRING "Quickshell co add_compile_options(-Wall -Wextra) -add_subdirectory(assets/cpp) -add_subdirectory(plugin) +if(NOT DONT_BUILD_ASSETS) + add_subdirectory(assets/cpp) +endif() + +if(NOT DONT_BUILD_PLUGIN) + add_subdirectory(plugin) +endif() foreach(dir assets components config modules services utils) install(DIRECTORY ${dir} DESTINATION "${INSTALL_QSCONFDIR}") -- cgit v1.2.3-freya