From 6a5de92769d5b7038134044053f90e7458f6a197 Mon Sep 17 00:00:00 2001 From: Pavel Solovev Date: Sun, 7 Jan 2024 22:36:00 +0300 Subject: [PATCH] cmake: Don't install sdbus-cpp files --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2eb7cfb..f5322a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,7 +46,7 @@ pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols pkg_check_modules(SDBUS IMPORTED_TARGET sdbus-c++) if(NOT SDBUS_FOUND) include_directories("subprojects/sdbus-cpp/include/") - add_subdirectory(subprojects/sdbus-cpp) + add_subdirectory(subprojects/sdbus-cpp EXCLUDE_FROM_ALL) add_library(PkgConfig::SDBUS ALIAS sdbus-c++) endif()