Skip to content

Commit 85b52da

Browse files
authored
Added OpenBSD OS detection
Resolves: ecmwf/eccodes#360
1 parent 0b31ba5 commit 85b52da

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎cmake/ecbuild_check_os.cmake‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,12 @@ if( UNIX )
312312
set( EC_OS_NAME "freebsd" )
313313
endif()
314314

315+
### OpenBSD ###
316+
317+
if( ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )
318+
set( EC_OS_NAME "openbsd" )
319+
endif()
320+
315321
### Solaris ###
316322

317323
if( ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" )

0 commit comments

Comments
 (0)