diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-12-16 17:26:59 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-12-16 17:26:59 -0500 |
commit | 080a626d8f3a348bddb466f9c457b6582a7e0a84 (patch) | |
tree | 41566d22479c8ba737014f83d10c4074751812ca /Modules/CMakeDetermineSystem.cmake | |
parent | 4bf392e8323f9303aa7c6745bae9a96772fb8626 (diff) | |
download | cmake-080a626d8f3a348bddb466f9c457b6582a7e0a84.tar.gz |
ENH: fix for OpenBSD
Diffstat (limited to 'Modules/CMakeDetermineSystem.cmake')
-rw-r--r-- | Modules/CMakeDetermineSystem.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake index 2a1007bcb3..9ab193cc34 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) |