summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-08-06 13:20:24 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-10-15 21:16:44 (GMT)
commit2db55ffa56a69c4b55410afb9b40ab20f4025837 (patch)
tree78a498981c6d77fa0b148db021ca628b2d44a57b /Source/CPack
parenta7596fef6e8d6938ce0d7fcba47e896f288b12b4 (diff)
downloadCMake-2db55ffa56a69c4b55410afb9b40ab20f4025837.zip
CMake-2db55ffa56a69c4b55410afb9b40ab20f4025837.tar.gz
CMake-2db55ffa56a69c4b55410afb9b40ab20f4025837.tar.bz2
Remove borland workarounds.
CMake 3.0 is the last release to require to be able to build with Borland.
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackGeneratorFactory.cxx3
-rw-r--r--Source/CPack/cmCPackSTGZGenerator.cxx2
2 files changed, 0 insertions, 5 deletions
diff --git a/Source/CPack/cmCPackGeneratorFactory.cxx b/Source/CPack/cmCPackGeneratorFactory.cxx
index c8737f4..94ca536 100644
--- a/Source/CPack/cmCPackGeneratorFactory.cxx
+++ b/Source/CPack/cmCPackGeneratorFactory.cxx
@@ -47,9 +47,6 @@
#include "cmCPackLog.h"
-#if defined(__BORLANDC__)
-# pragma warn -8008 /* condition is always true */
-#endif
//----------------------------------------------------------------------
cmCPackGeneratorFactory::cmCPackGeneratorFactory()
diff --git a/Source/CPack/cmCPackSTGZGenerator.cxx b/Source/CPack/cmCPackSTGZGenerator.cxx
index 6c1d201..e5da5cf 100644
--- a/Source/CPack/cmCPackSTGZGenerator.cxx
+++ b/Source/CPack/cmCPackSTGZGenerator.cxx
@@ -71,8 +71,6 @@ int cmCPackSTGZGenerator::PackageFiles()
retval &= cmSystemTools::SetPermissions((*it).c_str(),
#if defined( _MSC_VER ) || defined( __MINGW32__ )
S_IREAD | S_IWRITE | S_IEXEC
-#elif defined( __BORLANDC__ )
- S_IRUSR | S_IWUSR | S_IXUSR
#else
S_IRUSR | S_IWUSR | S_IXUSR |
S_IRGRP | S_IWGRP | S_IXGRP |