diff options
author | worktycho <work.tycho@gmail.com> | 2014-05-28 21:39:47 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-05-28 21:39:47 +0200 |
commit | 1cf426d881e1ea3dbfae5ebae701e02cd41c95a0 (patch) | |
tree | 8f05441d311de2a7f073ac4820c4e2c063a2b3d9 /lib/sqlite/CMakeLists.txt | |
parent | for compiliers other than msvc we need to tell lua that its building as a dll (diff) | |
download | cuberite-1cf426d881e1ea3dbfae5ebae701e02cd41c95a0.tar cuberite-1cf426d881e1ea3dbfae5ebae701e02cd41c95a0.tar.gz cuberite-1cf426d881e1ea3dbfae5ebae701e02cd41c95a0.tar.bz2 cuberite-1cf426d881e1ea3dbfae5ebae701e02cd41c95a0.tar.lz cuberite-1cf426d881e1ea3dbfae5ebae701e02cd41c95a0.tar.xz cuberite-1cf426d881e1ea3dbfae5ebae701e02cd41c95a0.tar.zst cuberite-1cf426d881e1ea3dbfae5ebae701e02cd41c95a0.zip |
Diffstat (limited to '')
-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..d3bba6606 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 (SYSTEM_NAME STREQUAL "FreeBSD")) + add_flags_cxx(-D__POSIX_VISIBLE=200112) +endif() add_library(sqlite ${SOURCE}) |