diff options
author | Brad King <brad.king@kitware.com> | 2006-04-05 15:07:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-04-05 15:07:54 (GMT) |
commit | 79da27222a438989cb891be3fc2016853f0c5a44 (patch) | |
tree | 4593a03ef17599f88ad583fa7039fc695efc4726 /Source/cmOrderLinkDirectories.cxx | |
parent | 8e39418f6c6f9ed70adcefd3338ec85568cbee9c (diff) | |
download | CMake-79da27222a438989cb891be3fc2016853f0c5a44.zip CMake-79da27222a438989cb891be3fc2016853f0c5a44.tar.gz CMake-79da27222a438989cb891be3fc2016853f0c5a44.tar.bz2 |
COMP: Moved var decl out of _WIN32 block.
Diffstat (limited to 'Source/cmOrderLinkDirectories.cxx')
-rw-r--r-- | Source/cmOrderLinkDirectories.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx index 1572827..d5d0c80 100644 --- a/Source/cmOrderLinkDirectories.cxx +++ b/Source/cmOrderLinkDirectories.cxx @@ -258,8 +258,8 @@ void cmOrderLinkDirectories::SetLinkInformation( for(std::vector<std::string>::const_iterator p = linkDirectories.begin(); p != linkDirectories.end(); ++p) { -#ifdef _WIN32 std::string dir = *p; +#ifdef _WIN32 // Avoid case problems for windows paths. if(dir.size() > 2 && dir[1] == ':') { |