Ninja: windres is also used for cross-compiling
It makes no sense to set windres.exe as default, especially when we are on Linux or Unix.
This commit is contained in:
parent
6c1609ea55
commit
46546809f5
|
@ -475,8 +475,7 @@ void cmGlobalNinjaGenerator
|
|||
{
|
||||
UsingMinGW = true;
|
||||
std::string rc = cmSystemTools::FindProgram("windres");
|
||||
if(rc.empty())
|
||||
rc = "windres.exe";;
|
||||
if(!rc.empty())
|
||||
mf->AddDefinition("CMAKE_RC_COMPILER", rc.c_str());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue