summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-01-28 19:57:16 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-01-28 20:51:47 +0100
commitebf0115af1c52612e02fd8908b4240501bd34c60 (patch)
treef5e42f05757387e0931e29f8868f389bb2ae211f /CMakeLists.txt
parent83e4c4d56c1bda0a7b925c8dccb971d7a3a12362 (diff)
downloadtdelibs-ebf0115af1c52612e02fd8908b4240501bd34c60.tar.gz
tdelibs-ebf0115af1c52612e02fd8908b4240501bd34c60.zip
Use common test for large files support.
Drop hardcoded definition -D_LARGEFILE64_SOURCE=1. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 42aa50dea..33d5357cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -161,6 +161,8 @@ endif( NO_BUILTIN )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
+tde_setup_largefiles( )
+
tde_save_and_set( CMAKE_REQUIRED_INCLUDES ${CMAKE_SOURCE_DIR}/libltdl )
check_include_file( "ltdl.h" HAVE_LTDL_H )
if( NOT HAVE_LTDL_H )