Update to use tde_conditional_add_project_… rules

for documentation and translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/6/head
Slávek Banko 3 years ago
parent 8e3bd36521
commit 6b1d512016
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -68,8 +68,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( icons )
add_subdirectory( src )
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 #####################

@ -1 +0,0 @@
tde_add_project_docs()

@ -1 +0,0 @@
tde_auto_add_subdirectories()

@ -1 +0,0 @@
tde_add_project_translations()
Loading…
Cancel
Save