From 67fac6eb61fb55b98db7e67d5ead244272cc4b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 1 Feb 2019 17:16:01 +0100 Subject: Use common test for large files support. Drop hardcoded definition -D_LARGEFILE64_SOURCE. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 02cb998b9cb2cd5ef36fe0b86781fc452a0d150e) --- kcontrol/fonts/CMakeLists.txt | 2 -- kcontrol/tdefontinst/lib/CMakeLists.txt | 2 -- 2 files changed, 4 deletions(-) (limited to 'kcontrol') diff --git a/kcontrol/fonts/CMakeLists.txt b/kcontrol/fonts/CMakeLists.txt index 46787bcd6..8e82c01a8 100644 --- a/kcontrol/fonts/CMakeLists.txt +++ b/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} diff --git a/kcontrol/tdefontinst/lib/CMakeLists.txt b/kcontrol/tdefontinst/lib/CMakeLists.txt index 325b1b51d..411307aba 100644 --- a/kcontrol/tdefontinst/lib/CMakeLists.txt +++ b/kcontrol/tdefontinst/lib/CMakeLists.txt @@ -9,8 +9,6 @@ # ################################################# -add_definitions( -D_LARGEFILE64_SOURCE ) - include_directories( ${CMAKE_BINARY_DIR} ${TDE_INCLUDE_DIR} -- cgit v1.2.1