diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 07a5b820b..e39fd71c5 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -27,6 +27,8 @@ #if defined(_WIN32) && !defined(__CYGWIN__) #include +// workaround against Windows name mangling: +#undef GetCurrentDirectory #endif #include