ENH: fix for OpenBSD

This commit is contained in:
Bill Hoffman 2004-12-16 17:26:59 -05:00
parent 4bf392e832
commit 080a626d8f
2 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,8 @@ IF(UNIX)
SET(CMAKE_SYSTEM_PROCESSOR "unknown") SET(CMAKE_SYSTEM_PROCESSOR "unknown")
ENDIF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "--help") ENDIF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "--help")
SET(CMAKE_UNAME ${CMAKE_UNAME} CACHE INTERNAL "uname command") 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) ENDIF(CMAKE_UNAME)
ELSE(UNIX) ELSE(UNIX)
IF(WIN32) IF(WIN32)

View File

@ -1 +1 @@
SET(CMAKE_DL_LIBS "")