build on OpenBSD via Linux pathways

This commit is contained in:
thfrwn
2024-08-20 10:03:24 -04:00
parent 3cb1e8911a
commit 35bcbe8bf0
4 changed files with 5 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ set(HEADERS
osiris_import.h
osiris_vector.h)
set(CPPS
$<$<PLATFORM_ID:Darwin,Linux>:
$<$<PLATFORM_ID:Darwin,Linux,OpenBSD>:
linux_lib.cpp
>
)
@@ -87,7 +87,7 @@ foreach(SCRIPT ${SCRIPTS})
endif()
endforeach()
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
set(HOG_NAME "linux")
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(HOG_NAME "osx")