mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
BUG: Most platforms other than Linux seem to require executable permissions on their shared libraries.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user