mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-18 13:30:22 +00:00
cpack: Fix compilation on Cygwin after auto_ptr removal
Fix a compilation error on Cygwin introduced by commit f0489856e3
(Retire std::auto_ptr and its macro CM_AUTO_PTR, 2017-09-21).
This commit is contained in:
@@ -194,7 +194,7 @@ int main(int argc, char const* const* argv)
|
||||
cmGlobalGenerator cmgg(&cminst);
|
||||
cmMakefile globalMF(&cmgg, cminst.GetCurrentSnapshot());
|
||||
#if defined(__CYGWIN__)
|
||||
globalMF->AddDefinition("CMAKE_LEGACY_CYGWIN_WIN32", "0");
|
||||
globalMF.AddDefinition("CMAKE_LEGACY_CYGWIN_WIN32", "0");
|
||||
#endif
|
||||
|
||||
bool cpackConfigFileSpecified = true;
|
||||
|
||||
Reference in New Issue
Block a user