Browse Source

Use common test for large files support.

Drop hardcoded definition -D_LARGEFILE64_SOURCE.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 02cb998b9c)
pull/182/head
Slávek Banko 3 years ago
parent
commit
67fac6eb61
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668
  1. 2
      ConfigureChecks.cmake
  2. 2
      kcontrol/fonts/CMakeLists.txt
  3. 2
      kcontrol/tdefontinst/lib/CMakeLists.txt
  4. 5
      konqueror/CMakeLists.txt

2
ConfigureChecks.cmake

@ -18,6 +18,8 @@ tde_setup_architecture_flags( )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
tde_setup_largefiles( )
find_package( TQt )
find_package( TDE )

2
kcontrol/fonts/CMakeLists.txt

@ -29,8 +29,6 @@ set( HAVE_FREETYPE2 1 CACHE INTERNAL "" FORCE )
##### compiler/linker settings ##################
add_definitions( -D_LARGEFILE64_SOURCE )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}

2
kcontrol/tdefontinst/lib/CMakeLists.txt

@ -9,8 +9,6 @@
#
#################################################
add_definitions( -D_LARGEFILE64_SOURCE )
include_directories(
${CMAKE_BINARY_DIR}
${TDE_INCLUDE_DIR}

5
konqueror/CMakeLists.txt

@ -16,11 +16,6 @@ if( NOT BUILD_LIBKONQ )
endif( NOT BUILD_LIBKONQ )
add_definitions(
-D_LARGEFILE64_SOURCE
)
add_subdirectory( client )
add_subdirectory( iconview )
add_subdirectory( listview )

Loading…
Cancel
Save