OpenBSD: Install shared libraries without executable permission

This commit is contained in:
Amit Kulkarni 2012-12-03 17:15:19 -06:00 committed by Brad King
parent 538af16425
commit 288f75edee

View File

@ -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)