[Cmake-commits] [cmake-commits] king committed OpenBSD.cmake 1.6 1.7

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Sep 22 11:08:18 EDT 2008


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv29333/Modules/Platform

Modified Files:
	OpenBSD.cmake 
Log Message:
ENH: Teach find_library to find OpenBSD-style libs

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.


Index: OpenBSD.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/OpenBSD.cmake,v
retrieving revision 1.6
retrieving revision 1.7
diff -C 2 -d -r1.6 -r1.7
*** OpenBSD.cmake	27 Mar 2006 16:09:19 -0000	1.6
--- OpenBSD.cmake	22 Sep 2008 15:08:16 -0000	1.7
***************
*** 1,2 ****
--- 1,3 ----
  SET(CMAKE_DL_LIBS "")
+ SET_PROPERTY(GLOBAL PROPERTY FIND_LIBRARY_USE_OPENBSD_VERSIONING 1)
  INCLUDE(Platform/UnixPaths)



More information about the Cmake-commits mailing list