mirror of
https://github.com/reactos/CMake.git
synced 2025-02-10 05:42:45 +00:00
cmGeneratorExpression: Add workaround for Borland compiler
This commit is contained in:
parent
3495ab0a81
commit
86be733fa5
@ -33,10 +33,18 @@ cmGeneratorExpression::cmGeneratorExpression(
|
||||
cmsys::auto_ptr<cmCompiledGeneratorExpression>
|
||||
cmGeneratorExpression::Parse(std::string const& input)
|
||||
{
|
||||
#if !defined(__BORLANDC__)
|
||||
return cmsys::auto_ptr<cmCompiledGeneratorExpression>(
|
||||
new cmCompiledGeneratorExpression(
|
||||
this->Backtrace ? *this->Backtrace : cmListFileBacktrace(NULL),
|
||||
input));
|
||||
#else
|
||||
cmListFileBacktrace emptyBacktrace(NULL);
|
||||
return cmsys::auto_ptr<cmCompiledGeneratorExpression>(
|
||||
new cmCompiledGeneratorExpression(
|
||||
this->Backtrace ? *this->Backtrace : emptyBacktrace,
|
||||
input));
|
||||
#endif
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user