BUG: Most platforms other than Linux seem to require executable permissions on their shared libraries.
This commit is contained in:
parent
2caa6bb7e6
commit
19f5d128e8
|
@ -576,7 +576,7 @@ bool cmFileCommand::HandleInstallCommand(
|
||||||
{
|
{
|
||||||
case cmTarget::SHARED_LIBRARY:
|
case cmTarget::SHARED_LIBRARY:
|
||||||
case cmTarget::MODULE_LIBRARY:
|
case cmTarget::MODULE_LIBRARY:
|
||||||
#if !defined(_WIN32) && !defined(__APPLE_CC__)
|
#if defined(__linux__)
|
||||||
// Use read/write permissions.
|
// Use read/write permissions.
|
||||||
use_given_permissions = true;
|
use_given_permissions = true;
|
||||||
permissions = 0;
|
permissions = 0;
|
||||||
|
|
Loading…
Reference in New Issue