summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-02-06 14:40:42 (GMT)
committerBrad King <brad.king@kitware.com>2012-02-06 14:40:42 (GMT)
commitc8ef6430e09c063b74708ef0cd28f533c15fd8bd (patch)
treed37c630801b3ba3abbc687b12c55315ee89fda11 /Source/cmake.h
parent8704525f201452929a2bec96fb04387c97ad8a79 (diff)
downloadCMake-c8ef6430e09c063b74708ef0cd28f533c15fd8bd.zip
CMake-c8ef6430e09c063b74708ef0cd28f533c15fd8bd.tar.gz
CMake-c8ef6430e09c063b74708ef0cd28f533c15fd8bd.tar.bz2
Allow directory names containing '=' and warn if necessary (#12934)
The approach taken by commit 8704525f (Reject directory names containing '=', 2011-01-14) was perhaps too heavy-handed for avoiding the obscure cases when '=' in the path fails due to limitations of Make syntax. Only two CMake tests: LinkDirectory OutOfSource fail when the path contains '=' and they cover obscure cases. Instead of rejecting such paths outright just warn when the problem may occur.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 6744ca1..435d38b 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -435,8 +435,6 @@ protected:
///! Find the full path to one of the cmake programs like ctest, cpack, etc.
std::string FindCMakeProgram(const char* name) const;
-
- bool RejectUnsupportedPaths(const char* desc, std::string const& path);
private:
cmake(const cmake&); // Not implemented.
void operator=(const cmake&); // Not implemented.