kauth: fix cmake config for libexecdir
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
- DEPENDS KF5::kauth-policy-gen)
|
- DEPENDS KF5::kauth-policy-gen)
|
||||||
+ if(CMAKE_CROSSCOMPILING)
|
+ if(CMAKE_CROSSCOMPILING)
|
||||||
+ add_custom_command(OUTPUT ${_output}
|
+ 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}
|
+ MAIN_DEPENDENCY ${_input}
|
||||||
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
+ COMMENT "Generating ${HELPER_ID}.policy"
|
+ COMMENT "Generating ${HELPER_ID}.policy"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'kauth'
|
# Template file for 'kauth'
|
||||||
pkgname=kauth
|
pkgname=kauth
|
||||||
version=5.100.0
|
version=5.100.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config kcoreaddons
|
hostmakedepends="kcoreaddons extra-cmake-modules pkg-config kcoreaddons
|
||||||
qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel"
|
qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel"
|
||||||
|
|||||||
Reference in New Issue
Block a user