aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Becker <heirecka@exherbo.org>2018-08-01 19:48:38 +0200
committerHeiko Becker <heirecka@exherbo.org>2018-08-01 20:01:16 +0200
commit59b311bcc2eddad30e5d0d80bd7563a56236f771 (patch)
tree9f350ddb5a4402809f78b15236bca60e167c9b43
parent17158129a853fee645fc7de5c5037413b3cff4d8 (diff)
downloadextra-cmake-modules-59b311bcc2eddad30e5d0d80bd7563a56236f771.tar.gz
extra-cmake-modules-59b311bcc2eddad30e5d0d80bd7563a56236f771.tar.bz2
ECMOptionalAddSubdirectory: Provide a bit more detail
Subscribers: kde-frameworks-devel, kde-buildsystem Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D14541
-rw-r--r--modules/ECMOptionalAddSubdirectory.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ECMOptionalAddSubdirectory.cmake b/modules/ECMOptionalAddSubdirectory.cmake
index 6cf50727..79a533d4 100644
--- a/modules/ECMOptionalAddSubdirectory.cmake
+++ b/modules/ECMOptionalAddSubdirectory.cmake
@@ -10,7 +10,8 @@
#
# This behaves like add_subdirectory(), except that it does not complain if the
# directory does not exist. Additionally, if the directory does exist, it
-# creates an option to allow the user to skip it.
+# creates an option to allow the user to skip it. The option will be named
+# BUILD_<dir>.
#
# This is useful for "meta-projects" that combine several mostly-independent
# sub-projects.