COMP: Moved var decl out of _WIN32 block.
This commit is contained in:
parent
8e39418f6c
commit
79da27222a
|
@ -258,8 +258,8 @@ void cmOrderLinkDirectories::SetLinkInformation(
|
||||||
for(std::vector<std::string>::const_iterator p = linkDirectories.begin();
|
for(std::vector<std::string>::const_iterator p = linkDirectories.begin();
|
||||||
p != linkDirectories.end(); ++p)
|
p != linkDirectories.end(); ++p)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
|
||||||
std::string dir = *p;
|
std::string dir = *p;
|
||||||
|
#ifdef _WIN32
|
||||||
// Avoid case problems for windows paths.
|
// Avoid case problems for windows paths.
|
||||||
if(dir.size() > 2 && dir[1] == ':')
|
if(dir.size() > 2 && dir[1] == ':')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue