summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAnton Adamansky <adamansky@gmail.com>2015-07-10 12:53:42 +0600
committerAnton Adamansky <adamansky@gmail.com>2015-07-10 12:53:42 +0600
commit7bc31de83c07f88c685b41e41a96d414976b838c (patch)
tree6d1050e88941d4374ed8bc02d7f307db142ad10f /CMakeLists.txt
parent10f0286266b69def217fa234ca987c5753e27dd7 (diff)
downloadejdb-7bc31de83c07f88c685b41e41a96d414976b838c.tar.gz
ejdb-7bc31de83c07f88c685b41e41a96d414976b838c.tar.bz2
ejdb-7bc31de83c07f88c685b41e41a96d414976b838c.zip
working on #149
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff23dc4..5d6c68d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,6 +44,7 @@ endif(POLICY CMP0042)
if (CMAKE_SIZEOF_VOID_P MATCHES 8)
set(PROJECT_ARCH "x86_64")
+ add_definitions("-D_FILE_OFFSET_BITS=64")
else(CMAKE_SIZEOF_VOID_P MATCHES 8)
set(PROJECT_ARCH "x86")
endif(CMAKE_SIZEOF_VOID_P MATCHES 8)