summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-03-07 15:05:30 (GMT)
committerBrad King <brad.king@kitware.com>2006-03-07 15:05:30 (GMT)
commit19f5d128e8cce40e530a21ae88b9052810ab4394 (patch)
tree89c643a082d7d4f95c15492d6f4fd2d040a15fdd /Source/cmFileCommand.cxx
parent2caa6bb7e6c7393cda1c2846f790d7ce88448bc4 (diff)
downloadCMake-19f5d128e8cce40e530a21ae88b9052810ab4394.zip
CMake-19f5d128e8cce40e530a21ae88b9052810ab4394.tar.gz
CMake-19f5d128e8cce40e530a21ae88b9052810ab4394.tar.bz2
BUG: Most platforms other than Linux seem to require executable permissions on their shared libraries.
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 3c45d66..56f93eb 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -576,7 +576,7 @@ bool cmFileCommand::HandleInstallCommand(
{
case cmTarget::SHARED_LIBRARY:
case cmTarget::MODULE_LIBRARY:
-#if !defined(_WIN32) && !defined(__APPLE_CC__)
+#if defined(__linux__)
// Use read/write permissions.
use_given_permissions = true;
permissions = 0;