diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /x11/hyprlock/files/patch-CMakeLists.txt | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'x11/hyprlock/files/patch-CMakeLists.txt')
| -rw-r--r-- | x11/hyprlock/files/patch-CMakeLists.txt | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/x11/hyprlock/files/patch-CMakeLists.txt b/x11/hyprlock/files/patch-CMakeLists.txt deleted file mode 100644 index 7ec6a3c2d392..000000000000 --- a/x11/hyprlock/files/patch-CMakeLists.txt +++ /dev/null @@ -1,30 +0,0 @@ ---- CMakeLists.txt.orig 2025-07-17 09:05:58 UTC -+++ CMakeLists.txt -@@ -86,14 +86,25 @@ pkg_check_modules( - pangocairo - libdrm - gbm -- pam - hyprutils>=0.8.0 - sdbus-c++>=2.0.0 - hyprgraphics) -+find_library(PAM_FOUND pam) -+if(PAM_FOUND) -+ message(STATUS "Found pam") -+ set(PAM_LIB ${PAM_FOUND}) -+else() -+ pkg_check_modules(PAM IMPORTED_TARGET pam) -+ if(PAM_FOUND) -+ set(PAM_LIB PkgConfig::PAM) -+ else() -+ message(FATAL_ERROR "The required library libpam was not found.") -+ endif() -+endif() - - file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp") - add_executable(hyprlock ${SRCFILES}) --target_link_libraries(hyprlock PRIVATE pam rt Threads::Threads PkgConfig::deps -+target_link_libraries(hyprlock PRIVATE ${PAM_LIB} rt Threads::Threads PkgConfig::deps - OpenGL::EGL OpenGL::GLES3) - - # protocols |
