diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2021-08-01 10:58:00 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2021-08-01 10:58:12 +0200 |
| commit | d74d1b2542446e1e051cc5e951c4113d13115d71 (patch) | |
| tree | f0840e5b485d16e7fa89e382544aa0e9300c397f /CMakeLists.txt | |
| parent | a7beba33469458c564aa0eab3d3e0c2a088e7faa (diff) | |
| download | mathemagics-d74d1b25.tar.gz mathemagics-d74d1b25.zip | |
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8b7f762e49180a4776224d4118ac44aebe1aadc5)
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b2cbf29..3895e6f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,8 +67,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### source directories add_subdirectory( ${PROJECT_NAME} ) -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 |
