summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-08-07 13:56:20 (GMT)
committerBrad King <brad.king@kitware.com>2009-08-07 13:56:20 (GMT)
commitee7231c03fb17979d946ffd4eefabf8255324de6 (patch)
tree27f77b9f17312544ebfa458e84043b9cb1fbef45 /Modules/Platform
parent2eb438c02040fdb0674e94f474090e1d2e094617 (diff)
downloadCMake-ee7231c03fb17979d946ffd4eefabf8255324de6.zip
CMake-ee7231c03fb17979d946ffd4eefabf8255324de6.tar.gz
CMake-ee7231c03fb17979d946ffd4eefabf8255324de6.tar.bz2
Use NetBSD to initialize OpenBSD configuration
We teach Modules/Platform/OpenBSD.cmake to load NetBSD first since the platforms are so similar. This enables RPATH support on OpenBSD.
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/OpenBSD.cmake3
1 files changed, 1 insertions, 2 deletions
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)