A question with cmake: KF5_VERSION and EXCLUDE_FROM_ALL
Albert Astals Cid
aacid at kde.org
Thu Oct 27 23:54:08 BST 2022
El dimecres, 26 d’octubre de 2022, a les 23:23:20 (CEST), Antoni Bella Pérez
va escriure:
> Hi,
>
> In order to solve the problem with the Kstars compilation and its minimum
> version of KF set to 5.68. I clarify: No problem with this.
>
> Would these files solve this?
No, there's no CMakeLists.txt in those folders, docs get all installed by the
single kdoctools_install(po) command in the root CMakeLists.txt
But you have inspited me in a way to fix it.
https://invent.kde.org/education/kstars/-/merge_requests/773
Let's see if the CI gods are favorable.
Cheers,
Albert
> I ask because I am not a developer and yes,
> I would like people to enjoy these translations, and no solution has been
> discussed.
>
> * po/ca at valencia/CMakeLists.txt
>
> if(${KF5_VERSION} VERSION_LESS 5.92.0)
> ADD_SUBDIRECTORY (docs EXCLUDE_FROM_ALL)
> message(STATUS "KF5_VERSION is ${KF5_VERSION}, the Catalan (Valencian)
> documentation won't be installed.")
> endif()
>
> * po/fr/CMakeLists.txt
>
> if(${KF5_VERSION} VERSION_LESS 5.95.0)
> ADD_SUBDIRECTORY (docs EXCLUDE_FROM_ALL)
> message(STATUS "KF5_VERSION is ${KF5_VERSION}, the French documentation
> won't be installed.")
> endif()
>
> Any feedback will be welcome
>
> Regards
> Toni
More information about the kde-i18n-doc
mailing list