Install pam config only if pam is enabled
This commit is contained in:
parent
91bb968110
commit
bb32fd1d50
10
meson.build
10
meson.build
@ -127,10 +127,12 @@ executable('swaylock',
|
||||
install: true
|
||||
)
|
||||
|
||||
install_data(
|
||||
'pam/swaylock',
|
||||
install_dir: get_option('sysconfdir') / 'pam.d'
|
||||
)
|
||||
if libpam.found()
|
||||
install_data(
|
||||
'pam/swaylock',
|
||||
install_dir: get_option('sysconfdir') / 'pam.d'
|
||||
)
|
||||
endif
|
||||
|
||||
if scdoc.found()
|
||||
mandir = get_option('mandir')
|
||||
|
Loading…
Reference in New Issue
Block a user