mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
ERR: Fix build on Mingw. Looks like Mingw is more like visual studio... Thanks Fred Wheeler
This commit is contained in:
@@ -344,7 +344,7 @@ bool cmFileCommand::HandleInstallCommand(std::vector<std::string> const& args)
|
||||
case cmTarget::EXECUTABLE:
|
||||
|
||||
if ( !cmSystemTools::SetPermissions(destfile.c_str(),
|
||||
#if defined( _MSC_VER )
|
||||
#if defined( _MSC_VER ) || defined( __MINGW32__ )
|
||||
S_IREAD | S_IWRITE | S_IEXEC
|
||||
#elif defined( __BORLANDC__ )
|
||||
S_IRUSR | S_IWUSR | S_IXUSR
|
||||
|
||||
Reference in New Issue
Block a user