From d488455aa536c1f337b4a5366edbb129447bd35e Mon Sep 17 00:00:00 2001 From: Jonathan Riddell Date: Mon, 12 Jan 2015 17:16:18 +0100 Subject: [PATCH] use ecm_optional_add_subdirectory for docs so translations can optionally be added optionally --- CMakeLists.txt | 1 + doc/CMakeLists.txt | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fe3c8cac..f12cb4f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ include(KDECompilerSettings) include(ECMInstallIcons) include(ECMMarkAsTest) include(ECMMarkNonGuiExecutable) +include(ECMOptionalAddSubdirectory) include(FeatureSummary) include(CheckIncludeFiles) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 65b1626f..cadf8324 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,4 +1,4 @@ -add_subdirectory(khelpcenter) -add_subdirectory(fundamentals) -add_subdirectory(glossary) -add_subdirectory(onlinehelp) +ecm_optional_add_subdirectory(khelpcenter) +ecm_optional_add_subdirectory(fundamentals) +ecm_optional_add_subdirectory(glossary) +ecm_optional_add_subdirectory(onlinehelp)