diff options
author | Brad King <brad.king@kitware.com> | 2015-04-06 12:58:14 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-04-06 12:58:14 (GMT) |
commit | 9ddbacdb74c7f3daf824decee9a1d900ddb44744 (patch) | |
tree | 6aef3db0f2e54f3f0260eb5d7f749acdf2d35974 /Source/CPack | |
parent | f762ceb26eb08ade9ea795cfee46b43850beb9bb (diff) | |
parent | 5f686b8a6b5258f6c5aafbb33d7db36b38a3f06d (diff) | |
download | CMake-9ddbacdb74c7f3daf824decee9a1d900ddb44744.zip CMake-9ddbacdb74c7f3daf824decee9a1d900ddb44744.tar.gz CMake-9ddbacdb74c7f3daf824decee9a1d900ddb44744.tar.bz2 |
Merge topic 'test_cpack_symlinks'
5f686b8a Tests: Add case for CPack source package with symlinks
aca1d93b cpack: Disable CMake Cygwin legacy warning while packaging
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cpack.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 6106472..00b23cd 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -203,6 +203,9 @@ int main (int argc, char const* const* argv) cmgg.SetCMakeInstance(&cminst); cmsys::auto_ptr<cmLocalGenerator> cmlg(cmgg.CreateLocalGenerator()); cmMakefile* globalMF = cmlg->GetMakefile(); +#if defined(__CYGWIN__) + globalMF->AddDefinition("CMAKE_LEGACY_CYGWIN_WIN32", "0"); +#endif bool cpackConfigFileSpecified = true; if ( cpackConfigFile.empty() ) |