diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-08-09 21:42:27 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-08-09 21:42:27 (GMT) |
commit | 8a70315bb46e215ec35ae8aa58da449624f17699 (patch) | |
tree | 8a3e6b5bc25b68c716d96b2a4eaf83953cf50f38 /Source/kwsys | |
parent | 63e62376002b4c70c5091a740151d976bc43eb4d (diff) | |
download | CMake-8a70315bb46e215ec35ae8aa58da449624f17699.zip CMake-8a70315bb46e215ec35ae8aa58da449624f17699.tar.gz CMake-8a70315bb46e215ec35ae8aa58da449624f17699.tar.bz2 |
BUG: fix for try run failing on some cygwin builds. Allow a driver letter to start a full path on cygwin
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 9dc7e98..f445c8e 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -1647,7 +1647,7 @@ SystemTools::GetFilenameWithoutLastExtension(const kwsys_stl::string& filename) bool SystemTools::FileIsFullPath(const char* in_name) { kwsys_stl::string name = in_name; -#if defined(_WIN32) +#if defined(_WIN32) || defined(__CYGWIN__) // On Windows, the name must be at least two characters long. if(name.length() < 2) { |