diff options
author | qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> | 2022-12-21 10:50:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-21 10:50:57 -0800 |
commit | 069ee3ddbe66b58ff30e1483cf9950b1c173121c (patch) | |
tree | 3e2caa91fb2095f35cc42112a2bb635c71a7be78 /CMakeLists.txt | |
parent | 0ad525680038c8450fbd9c438fad49ee133029f5 (diff) |
Add NetBSD and OpenBSD to BSD ports
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9cf1050..c480d40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -322,8 +322,8 @@ else() endif() endif() -if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD) - message(STATUS "Using FreeBSD port") +if(${CMAKE_SYSTEM_NAME} MATCHES "(Free|Net|Open)BSD") + message(STATUS "Using BSD port") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DO_LARGEFILE=0 -Dstat64=stat -Dlstat64=lstat -Dlseek64=lseek -Doff64_t=off_t -Dfstat64=fstat -Dftruncate64=ftruncate") endif() |