summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorExpression.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-08-06 15:20:24 +0200
committerStephen Kelly <steveire@gmail.com>2014-10-15 23:16:44 +0200
commit2db55ffa56a69c4b55410afb9b40ab20f4025837 (patch)
tree78a498981c6d77fa0b148db021ca628b2d44a57b /Source/cmGeneratorExpression.cxx
parenta7596fef6e8d6938ce0d7fcba47e896f288b12b4 (diff)
downloadcmake-2db55ffa56a69c4b55410afb9b40ab20f4025837.tar.gz
Remove borland workarounds.
CMake 3.0 is the last release to require to be able to build with Borland.
Diffstat (limited to 'Source/cmGeneratorExpression.cxx')
-rw-r--r--Source/cmGeneratorExpression.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx
index 7fc1464c36..09d02ea6f7 100644
--- a/Source/cmGeneratorExpression.cxx
+++ b/Source/cmGeneratorExpression.cxx
@@ -33,18 +33,10 @@ 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
}
//----------------------------------------------------------------------------