summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--kio/CMakeLists.txt4
-rw-r--r--kio/misc/CMakeLists.txt4
-rw-r--r--kioslave/file/CMakeLists.txt4
4 files changed, 2 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54e080d5f..5e1fbd83d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -144,6 +144,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 )
diff --git a/kio/CMakeLists.txt b/kio/CMakeLists.txt
index 2e84efcd8..d4dc7df48 100644
--- a/kio/CMakeLists.txt
+++ b/kio/CMakeLists.txt
@@ -9,10 +9,6 @@
#
#################################################
-add_definitions(
- -D_LARGEFILE64_SOURCE=1
-)
-
add_subdirectory( kssl )
add_subdirectory( kio )
add_subdirectory( bookmarks )
diff --git a/kio/misc/CMakeLists.txt b/kio/misc/CMakeLists.txt
index 6cda20bb9..5271069f3 100644
--- a/kio/misc/CMakeLists.txt
+++ b/kio/misc/CMakeLists.txt
@@ -17,10 +17,6 @@ add_subdirectory( kfile )
add_subdirectory( kwalletd )
add_subdirectory( kntlm )
-add_definitions(
- -D_LARGEFILE64_SOURCE
-)
-
include_directories(
${TQT_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR}
diff --git a/kioslave/file/CMakeLists.txt b/kioslave/file/CMakeLists.txt
index fef6c2224..0462811dc 100644
--- a/kioslave/file/CMakeLists.txt
+++ b/kioslave/file/CMakeLists.txt
@@ -9,10 +9,6 @@
#
#################################################
-add_definitions(
- -D_LARGEFILE64_SOURCE
-)
-
include_directories(
${TQT_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR}