diff --git a/CMakeLists.txt b/CMakeLists.txt index d1cec67..2a44d58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,6 +68,7 @@ add_compile_options(-fmacro-prefix-map=${CMAKE_SOURCE_DIR}/=) # dependencies message(STATUS "Checking deps...") +find_package(sdbus-c++ REQUIRED) find_package(Threads REQUIRED) find_package(PkgConfig REQUIRED) find_package(OpenGL REQUIRED COMPONENTS EGL GLES3) @@ -96,7 +97,7 @@ pkg_check_modules( file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp") add_executable(hyprlock ${SRCFILES}) target_link_libraries(hyprlock PRIVATE pam rt Threads::Threads PkgConfig::deps - OpenGL::EGL OpenGL::GLES3) + OpenGL::EGL OpenGL::GLES3 SDBusCpp::sdbus-c++) # protocols pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)