summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-03 12:27:12 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-03 12:27:12 (GMT)
commite3086213820a97db8432bf6089155509164fe960 (patch)
tree56bdbb70fa02ea4b64036af39bec6bd44d1a664c /Source/cmPolicies.h
parent3fda5c6463f3d0d263b8e58503fa622a46932d8c (diff)
downloadCMake-e3086213820a97db8432bf6089155509164fe960.zip
CMake-e3086213820a97db8432bf6089155509164fe960.tar.gz
CMake-e3086213820a97db8432bf6089155509164fe960.tar.bz2
Create CMP0014 to require CMakeLists.txt files
Until now CMake accidentally accepted add_subdirectory() and subdirs() calls referring to directories that do not contain a CMakeLists.txt file. We introduce CMake Policy CMP0014 to make this case an error.
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 391b91c..49dec3b 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -54,6 +54,7 @@ public:
CMP0011, // Strong policy scope for include and find_package
CMP0012, // Strong handling of boolean constants
CMP0013, // Duplicate binary directories not allowed
+ CMP0014, // Input directories must have CMakeLists.txt
// Always the last entry. Useful mostly to avoid adding a comma
// the last policy when adding a new one.