Browse Source

Update to use tde_conditional_add_project_… rules

for documentation and translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
master
Slávek Banko 4 months ago
parent
commit
6b1d512016
Signed by: SlavekB GPG Key ID: 608F5293A04BE668
  1. 8
      CMakeLists.txt
  2. 1
      doc/CMakeLists.txt
  3. 1
      translations/CMakeLists.txt
  4. 1
      translations/messages/CMakeLists.txt

8
CMakeLists.txt

@ -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
doc/CMakeLists.txt

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

1
translations/CMakeLists.txt

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

1
translations/messages/CMakeLists.txt

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