mirror of
https://github.com/reactos/CMake.git
synced 2025-02-23 21:40:34 +00:00

OpenBSD shared libraries use a ".so.<major>.<minor>" extension and do not have a symlink with just a ".so" extension. Its "ld" is capable of finding the library with the best version. This change adds support for finding such libraries. See issue #3470.
4 lines
118 B
CMake
4 lines
118 B
CMake
SET(CMAKE_DL_LIBS "")
|
|
SET_PROPERTY(GLOBAL PROPERTY FIND_LIBRARY_USE_OPENBSD_VERSIONING 1)
|
|
INCLUDE(Platform/UnixPaths)
|