aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2022-12-22 14:19:49 +0100
committerGitHub <noreply@github.com>2022-12-22 14:19:49 +0100
commitf5988112ec08e1f4f6d86c31bdec6e93a2e3f4e2 (patch)
tree3e2caa91fb2095f35cc42112a2bb635c71a7be78
parent0ad525680038c8450fbd9c438fad49ee133029f5 (diff)
parent069ee3ddbe66b58ff30e1483cf9950b1c173121c (diff)
Merge pull request #278 from qurious-pixel/patch-1
Merged. Thank you for the contribution.
-rw-r--r--CMakeLists.txt4
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()