mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Borland: No S_IWGRP is available
This commit is contained in:
@@ -191,6 +191,8 @@ bool cmFileCommand::HandleWriteCommand(std::vector<std::string> const& args,
|
||||
cmSystemTools::SetPermissions(fileName.c_str(),
|
||||
#if defined( _MSC_VER ) || defined( __MINGW32__ )
|
||||
mode | S_IWRITE
|
||||
#elif defined( __BORLANDC__ )
|
||||
mode | S_IWUSR
|
||||
#else
|
||||
mode | S_IWUSR | S_IWGRP
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user