kauth: fix cmake config for libexecdir

This commit is contained in:
Đoàn Trần Công Danh 2022-11-22 09:49:44 +07:00
parent 271ad4827b
commit 213926c4f1
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
- DEPENDS KF5::kauth-policy-gen)
+ if(CMAKE_CROSSCOMPILING)
+ add_custom_command(OUTPUT ${_output}
+ COMMAND "/usr/lib/libexec/kauth/kauth-policy-gen" ${_input} ${_output}
+ COMMAND "/usr/libexec/kauth/kauth-policy-gen" ${_input} ${_output}
+ MAIN_DEPENDENCY ${_input}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ COMMENT "Generating ${HELPER_ID}.policy"

View file

@ -1,7 +1,7 @@
# Template file for 'kauth'
pkgname=kauth
version=5.100.0
revision=2
revision=3
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config kcoreaddons
qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel"