ENH: fix for OpenBSD
This commit is contained in:
parent
4bf392e832
commit
080a626d8f
|
@ -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)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
|
SET(CMAKE_DL_LIBS "")
|
||||||
|
|
Loading…
Reference in New Issue