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
Utilities
KCalc
Commits
2c3db734
Commit
2c3db734
authored
May 07, 2021
by
Laurent Montel
😁
Browse files
Make allow to optional doc + allow to install po file directly
parent
a8da4301
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
2c3db734
...
...
@@ -36,13 +36,17 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Crash
Config
ConfigWidgets
DocTools
GuiAddons
I18n
Notifications
XmlGui
)
find_package
(
KF5DocTools
${
KF5_MIN_VERSION
}
)
set_package_properties
(
KF5DocTools PROPERTIES DESCRIPTION
"Tools to generate documentation"
TYPE OPTIONAL
)
set
(
CMAKE_MODULE_PATH
"
${
CMAKE_MODULE_PATH
}
"
${
CMAKE_SOURCE_DIR
}
/cmake/modules
)
...
...
@@ -131,6 +135,10 @@ install( FILES kcalcui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kcalc)
install
(
FILES scienceconstants.xml DESTINATION
${
KDE_INSTALL_DATADIR
}
/kcalc
)
install
(
FILES kcalcrc.upd DESTINATION
${
KDE_INSTALL_DATADIR
}
/kconf_update
)
add_subdirectory
(
doc
)
ki18n_install
(
po
)
if
(
KF5DocTools_FOUND
)
kdoctools_install
(
po
)
add_subdirectory
(
doc
)
endif
()
feature_summary
(
WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES
)
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