diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-08-28 15:43:51 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-08-28 16:56:52 +0200 |
commit | 2db2a93cb4a938b0019042a2b91fc1910b572097 (patch) | |
tree | 715e68b6fc1041efe723a8b09e8be04b3fb0b89c /CMakeLists.txt | |
parent | 6493cf19d99f6b955982aa0488610feb77a8aad0 (diff) | |
download | tdepowersave-2db2a93c.tar.gz tdepowersave-2db2a93c.zip |
Copy translations to a new directory layout.
Use common rules for build and install translations.
Use common rules for build and install documentation.
Added translation of .desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 28593cba62cd7639c6a0e3cbb4fd8508f6c9ea96)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a4e682e..44c966a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,8 +66,8 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### source directories ######################## add_subdirectory( src ) -tde_conditional_add_subdirectory( BUILD_DOC doc ) -tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) +tde_conditional_add_project_docs( BUILD_DOC ) +tde_conditional_add_project_translations( BUILD_TRANSLATIONS ) ##### write configure files ##################### |