From 127872e820ea7aed784c780d29f824817193c14e Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 27 Jan 2004 09:53:33 -0500 Subject: [PATCH] ERR: Fix build on Mingw. Looks like Mingw is more like visual studio... Thanks Fred Wheeler --- Source/cmFileCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index a258616dc..b6ddfcffc 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -344,7 +344,7 @@ bool cmFileCommand::HandleInstallCommand(std::vector 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