$OpenBSD: patch-src_cmake_platform_cmake,v 1.4 2017/12/26 19:19:04 rsadowski Exp $
Index: src/cmake/platform.cmake
--- src/cmake/platform.cmake.orig
+++ src/cmake/platform.cmake
@@ -39,6 +39,10 @@ if (UNIX)
     else ()
         string (TOLOWER ${CMAKE_SYSTEM_NAME} platform)
     endif ()
+    if (${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
+        message (STATUS "OpenBSD!")
+        set (platform "openbsd")
+    endif ()
 endif ()
 
 if (WIN32)
