mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-03 04:03:23 +03:00
CPackNSIS fix #0012935 switch from LOG_WARNING to avoid final error.
This commit is contained in:
1 parent
34cc537132
commit
6a74eb1d36
1 file changed
+3
-3
@@ -344,9 +344,9 @@ int cmCPackNSISGenerator::InitializeInternal()
|
||||
if ( cmSystemTools::IsOn(this->GetOption(
|
||||
"CPACK_INCLUDE_TOPLEVEL_DIRECTORY")) )
|
||||
{
|
||||
cmCPackLogger(cmCPackLog::LOG_ERROR,
|
||||
"NSIS Generator cannot work with CPACK_INCLUDE_TOPLEVEL_DIRECTORY. "
|
||||
"This option will be ignored."
|
||||
cmCPackLogger(cmCPackLog::LOG_WARNING,
|
||||
"NSIS Generator cannot work with CPACK_INCLUDE_TOPLEVEL_DIRECTORY set. "
|
||||
"This option will be reset to 0 (for this generator only)."
|
||||
<< std::endl);
|
||||
this->SetOption("CPACK_INCLUDE_TOPLEVEL_DIRECTORY", 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user