From 080a626d8f3a348bddb466f9c457b6582a7e0a84 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 16 Dec 2004 17:26:59 -0500 Subject: ENH: fix for OpenBSD --- Modules/CMakeDetermineSystem.cmake | 2 ++ Modules/Platform/OpenBSD.cmake | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake index 2a1007b..9ab193c 100644 --- a/Modules/CMakeDetermineSystem.cmake +++ b/Modules/CMakeDetermineSystem.cmake @@ -38,6 +38,8 @@ IF(UNIX) SET(CMAKE_SYSTEM_PROCESSOR "unknown") ENDIF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "--help") SET(CMAKE_UNAME ${CMAKE_UNAME} CACHE INTERNAL "uname command") + # processor may have double quote in the name, and that needs to be removed + STRING(REGEX REPLACE "\"" "" CMAKE_SYSTEM_PROCESSOR ${CMAKE_SYSTEM_PROCESSOR}) ENDIF(CMAKE_UNAME) ELSE(UNIX) IF(WIN32) diff --git a/Modules/Platform/OpenBSD.cmake b/Modules/Platform/OpenBSD.cmake index 8b13789..49465a5 100644 --- a/Modules/Platform/OpenBSD.cmake +++ b/Modules/Platform/OpenBSD.cmake @@ -1 +1 @@ - +SET(CMAKE_DL_LIBS "") -- cgit v0.12