diff options
author | madmaxoft <github@xoft.cz> | 2014-05-29 09:14:47 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-29 09:14:47 +0200 |
commit | b56033d5416306eb71bef9659fee92b368d4436e (patch) | |
tree | 7647fc9b8a29dc5ec0bc7258c68e4a59d113b205 /lib/sqlite/CMakeLists.txt | |
parent | Fixed a crash in message formatter. (diff) | |
parent | Cmake system name not System name (diff) | |
download | cuberite-b56033d5416306eb71bef9659fee92b368d4436e.tar cuberite-b56033d5416306eb71bef9659fee92b368d4436e.tar.gz cuberite-b56033d5416306eb71bef9659fee92b368d4436e.tar.bz2 cuberite-b56033d5416306eb71bef9659fee92b368d4436e.tar.lz cuberite-b56033d5416306eb71bef9659fee92b368d4436e.tar.xz cuberite-b56033d5416306eb71bef9659fee92b368d4436e.tar.zst cuberite-b56033d5416306eb71bef9659fee92b368d4436e.zip |
Diffstat (limited to 'lib/sqlite/CMakeLists.txt')
-rw-r--r-- | lib/sqlite/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqlite/CMakeLists.txt b/lib/sqlite/CMakeLists.txt index 0815127ef..9add2280b 100644 --- a/lib/sqlite/CMakeLists.txt +++ b/lib/sqlite/CMakeLists.txt @@ -17,6 +17,10 @@ if (WIN32) source_group("Sources" FILES ${SOURCE}) endif() +# FreeBSD requires us to define this to get POSIX 2001 standard +if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") + add_flags_cxx(-D__POSIX_VISIBLE=200112) +endif() add_library(sqlite ${SOURCE}) |