cmake: Don't install sdbus-cpp files

This commit is contained in:
Pavel Solovev 2024-01-07 22:36:00 +03:00 committed by Mihai Fufezan
parent 24fa87b939
commit 6a5de92769

View file

@ -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()