Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KAlarm
Commits
a847de4c
Commit
a847de4c
authored
Feb 23, 2022
by
Snehit Sah
♥
Committed by
David Jarvie
Mar 10, 2022
Browse files
Add option to not build/install KAuth Helper
Signed-off-by:
Snehit Sah
<
snehitsah@protonmail.com
>
parent
41f82745
Pipeline
#147936
passed with stage
in 2 minutes and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a847de4c
...
...
@@ -127,6 +127,9 @@ ecm_set_disabled_deprecation_versions(QT 5.15.2 KF 5.92.0)
option
(
USE_UNITY_CMAKE_SUPPORT
"Use UNITY cmake support (speedup compile time)"
OFF
)
option
(
ENABLE_KAUTH_HELPER
"Build and install KAuth helper"
ON
)
add_feature_info
(
KAUTH_HELPER
${
ENABLE_KAUTH_HELPER
}
"Build and install KAuth helper"
)
set
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT OFF
)
if
(
USE_UNITY_CMAKE_SUPPORT
)
set
(
COMPILE_WITH_UNITY_CMAKE_SUPPORT ON
)
...
...
src/CMakeLists.txt
View file @
a847de4c
...
...
@@ -319,8 +319,10 @@ install(FILES data/kalarm.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR})
########### KAuth helper ###############
add_executable
(
kalarm_helper rtcwakeaction.cpp rtcwakeaction.h
${
libkalarm_common_SRCS
}
)
target_link_libraries
(
kalarm_helper KF5::AuthCore KF5::I18n
)
install
(
TARGETS kalarm_helper DESTINATION
${
KAUTH_HELPER_INSTALL_DIR
}
)
kauth_install_helper_files
(
kalarm_helper org.kde.kalarm.rtcwake root
)
kauth_install_actions
(
org.kde.kalarm.rtcwake data/org.kde.kalarm.rtcwake.actions
)
if
(
ENABLE_KAUTH_HELPER
)
add_executable
(
kalarm_helper rtcwakeaction.cpp rtcwakeaction.h
${
libkalarm_common_SRCS
}
)
target_link_libraries
(
kalarm_helper KF5::AuthCore KF5::I18n
)
install
(
TARGETS kalarm_helper DESTINATION
${
KAUTH_HELPER_INSTALL_DIR
}
)
kauth_install_helper_files
(
kalarm_helper org.kde.kalarm.rtcwake root
)
kauth_install_actions
(
org.kde.kalarm.rtcwake data/org.kde.kalarm.rtcwake.actions
)
endif
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment