summaryrefslogtreecommitdiffstats
path: root/lib/sqlite/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-05-25 08:07:18 +0200
committerAlexander Harkness <me@bearbin.net>2015-05-25 08:07:18 +0200
commit150024265e10cc5f5769d5638c10078ec493f210 (patch)
tree72dbacde2f6f5a25db9d3f3c9800280ba15ad130 /lib/sqlite/CMakeLists.txt
parentMerge pull request #2114 from cengizIO/master (diff)
parentSupport building on FreeBSD (diff)
downloadcuberite-150024265e10cc5f5769d5638c10078ec493f210.tar
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.gz
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.bz2
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.lz
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.xz
cuberite-150024265e10cc5f5769d5638c10078ec493f210.tar.zst
cuberite-150024265e10cc5f5769d5638c10078ec493f210.zip
Diffstat (limited to 'lib/sqlite/CMakeLists.txt')
-rw-r--r--lib/sqlite/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlite/CMakeLists.txt b/lib/sqlite/CMakeLists.txt
index 993dac146..b9471c1f2 100644
--- a/lib/sqlite/CMakeLists.txt
+++ b/lib/sqlite/CMakeLists.txt
@@ -25,7 +25,7 @@ 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)
+ add_flags_cxx("-D_XOPEN_SOURCE=600")
endif()
add_library(sqlite ${SOURCE})