From 3b2670b3ddff63a61b276752384cf22dc7fded97 Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Wed, 19 Dec 2012 21:22:00 +0000 Subject: [PATCH] --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e0668d50..10aa25c08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,6 @@ IF (NOT CMAKE_BUILD_TYPE) SET (CMAKE_BUILD_TYPE DEBUG CACHE STRING "Choose the type of build, options are: None, Debug, Release." FORCE) ENDIF() - ##### # Some utility macros/scripts. @@ -403,6 +402,14 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/oc2) INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/libsrc) SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_SOURCE_DIR}/libsrc) +# +# Large File Support? +check_type_size(off64_t OFF64_T) +if(HAVE_OFF64_T) + set(_FILE_OFFSET_BITS 64) +endif() + + # # Library include checks CHECK_INCLUDE_FILE("math.h" HAVE_MATH_H)