aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMOptionalAddSubdirectory.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-12-11 14:18:59 +0100
committerAlex Neundorf <neundorf@kde.org>2011-12-11 14:18:59 +0100
commit0ca58c1f26c7eb606fb734d2df34ca5dca9e09fb (patch)
treee23bdcc44b2396e76d81516b08bdcb25c5671c76 /modules/ECMOptionalAddSubdirectory.cmake
parent5908cadf3dff5e0a67cbe2c864fae0d0caca6e58 (diff)
downloadextra-cmake-modules-0ca58c1f26c7eb606fb734d2df34ca5dca9e09fb.tar.gz
extra-cmake-modules-0ca58c1f26c7eb606fb734d2df34ca5dca9e09fb.tar.bz2
improve documentation formatting
Alex
Diffstat (limited to 'modules/ECMOptionalAddSubdirectory.cmake')
-rw-r--r--modules/ECMOptionalAddSubdirectory.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/ECMOptionalAddSubdirectory.cmake b/modules/ECMOptionalAddSubdirectory.cmake
index ef6592a0..c7931f0c 100644
--- a/modules/ECMOptionalAddSubdirectory.cmake
+++ b/modules/ECMOptionalAddSubdirectory.cmake
@@ -1,7 +1,10 @@
# - ECM_OPTIONAL_ADD_SUBDIRECTORY() combines ADD_SUBDIRECTORY() with an OPTION()
+#
# ECM_OPTIONAL_ADD_SUBDIRECTORY(<dir>)
+#
# If you use ECM_OPTIONAL_ADD_SUBDIRECTORY() instead of ADD_SUBDIRECTORY(),
# this will have two effects
+#
# 1 - CMake will not complain if the directory doesn't exist
# This makes sense if you want to distribute just one of the subdirs
# in a source package, e.g. just one of the subdirs in kdeextragear.