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