mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
OpenBSD: Install shared libraries without executable permission
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user