diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-01-27 14:05:31 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-01-27 14:05:31 (GMT) |
commit | f33c01b98aa02847d3e74479291a206f5af6a55d (patch) | |
tree | 55367b6ff91f3ba7186e456165616bade4086418 /Source/cmFileCommand.cxx | |
parent | fb228e73c8dbe01ba22be0da0d0813a5b10971c6 (diff) | |
download | CMake-f33c01b98aa02847d3e74479291a206f5af6a55d.zip CMake-f33c01b98aa02847d3e74479291a206f5af6a55d.tar.gz CMake-f33c01b98aa02847d3e74479291a206f5af6a55d.tar.bz2 |
ERR: And yet another set of constants for file permissions
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 6d1fd19..a258616 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -344,8 +344,10 @@ bool cmFileCommand::HandleInstallCommand(std::vector<std::string> const& args) case cmTarget::EXECUTABLE: if ( !cmSystemTools::SetPermissions(destfile.c_str(), -#ifdef _MSC_VER +#if defined( _MSC_VER ) 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_IXGRP | |