summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-05-28 22:39:28 +0200
committerworktycho <work.tycho@gmail.com>2014-05-28 22:39:28 +0200
commit444cce1269b3efc3370358b389c4ebdfe1f2e5b2 (patch)
treeefc3c55b4bd41922a2b28d162298fde16f74243f
parentderp (diff)
downloadcuberite-444cce1269b3efc3370358b389c4ebdfe1f2e5b2.tar
cuberite-444cce1269b3efc3370358b389c4ebdfe1f2e5b2.tar.gz
cuberite-444cce1269b3efc3370358b389c4ebdfe1f2e5b2.tar.bz2
cuberite-444cce1269b3efc3370358b389c4ebdfe1f2e5b2.tar.lz
cuberite-444cce1269b3efc3370358b389c4ebdfe1f2e5b2.tar.xz
cuberite-444cce1269b3efc3370358b389c4ebdfe1f2e5b2.tar.zst
cuberite-444cce1269b3efc3370358b389c4ebdfe1f2e5b2.zip
-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 da16ce411..9add2280b 100644
--- a/lib/sqlite/CMakeLists.txt
+++ b/lib/sqlite/CMakeLists.txt
@@ -18,7 +18,7 @@ if (WIN32)
endif()
# FreeBSD requires us to define this to get POSIX 2001 standard
-if (SYSTEM_NAME STREQUAL "FreeBSD")
+if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
add_flags_cxx(-D__POSIX_VISIBLE=200112)
endif()