[CMake] cmake under OpenBSD: rpath support misconfigured

Brad King brad.king at kitware.com
Fri Aug 7 09:58:36 EDT 2009


Brad King wrote:
> Frank Mertens wrote:
>> The solution was simple: cp NetBSD.cmake OpenBSD.cmake.
>> I think those two files can be kept safely identical.
> 
> Currently OpenBSD.cmake has this line:
> 
>   SET_PROPERTY(GLOBAL PROPERTY FIND_LIBRARY_USE_OPENBSD_VERSIONING 1)

I've applied the commit below.

-Brad


Use NetBSD to initialize OpenBSD configuration
/cvsroot/CMake/CMake/Modules/Platform/OpenBSD.cmake,v  <--  Modules/Platform/OpenBSD.cmake
new revision: 1.8; previous revision: 1.7

diff --git a/Modules/Platform/OpenBSD.cmake b/Modules/Platform/OpenBSD.cmake
index 422227b..e7df46d 100644
--- a/Modules/Platform/OpenBSD.cmake
+++ b/Modules/Platform/OpenBSD.cmake
@@ -1,3 +1,2 @@
-SET(CMAKE_DL_LIBS "")
+INCLUDE(Platform/NetBSD)
 SET_PROPERTY(GLOBAL PROPERTY FIND_LIBRARY_USE_OPENBSD_VERSIONING 1)
-INCLUDE(Platform/UnixPaths)


More information about the CMake mailing list