summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-07-22 18:18:15 +0200
committerSlávek Banko <[email protected]>2021-07-22 18:18:15 +0200
commitca9162597e232f79023a7f1cb223cb46879956ed (patch)
tree7ce0eb7380c9a548d71c76c0b240fc7f6ee0e74a /CMakeLists.txt
parentceb146142cf8e36576d28c937f4e96d68663c6fd (diff)
downloadkmplayer-ca9162597e232f79023a7f1cb223cb46879956ed.tar.gz
kmplayer-ca9162597e232f79023a7f1cb223cb46879956ed.zip
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6014066..e0d5d0f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -80,8 +80,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( src )
add_subdirectory( icons )
add_subdirectory( mimetypes )
-tde_conditional_add_subdirectory( BUILD_DOC doc )
-tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )
+
+
+##### other data ################################
+
+tde_conditional_add_project_docs( BUILD_DOC )
+tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files