Use common test for large files support.

Drop hardcoded definition -D_LARGEFILE64_SOURCE.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/27/head
Slávek Banko 6 years ago
parent 9a394bb261
commit 02cb998b9c
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

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

@ -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}

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

@ -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