diff options
author | Amit Kulkarni <amitkulz@gmail.com> | 2012-12-03 23:15:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-12-04 13:25:33 (GMT) |
commit | 288f75edee99d6689f6651fe2ad00955d293d665 (patch) | |
tree | 68356909dece6d5b059c98968949ca4c03f87a88 /Modules/Platform | |
parent | 538af1642561565f6d2674430005bb5dd6370ebb (diff) | |
download | CMake-288f75edee99d6689f6651fe2ad00955d293d665.zip CMake-288f75edee99d6689f6651fe2ad00955d293d665.tar.gz CMake-288f75edee99d6689f6651fe2ad00955d293d665.tar.bz2 |
OpenBSD: Install shared libraries without executable permission
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/OpenBSD.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Platform/OpenBSD.cmake b/Modules/Platform/OpenBSD.cmake index df240e0..53cabed 100644 --- a/Modules/Platform/OpenBSD.cmake +++ b/Modules/Platform/OpenBSD.cmake @@ -16,3 +16,7 @@ if(NOT CMAKE_PLATFORM_RUNTIME_PATH) endif() set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_OPENBSD_VERSIONING 1) + +# OpenBSD policy requires that shared libraries be installed without +# executable permission. +set(CMAKE_INSTALL_SO_NO_EXE 1) |