diff options
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 71dc1be..503c8d6 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -242,6 +242,7 @@ IF(NOT KWSYS_IN_SOURCE_BUILD) ENDIF(NOT KWSYS_IN_SOURCE_BUILD) +SET(KWSYS_REQUIRE_LARGE_FILE_SUPPORT 0) IF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.4) MESSAGE(STATUS "Skip large files support because CMake is earlier than 2.4") ELSE("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.4) @@ -253,8 +254,6 @@ ELSE("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.4) "Support for 64 bit file systems") IF(REQUIRE_LARGE_FILE_SUPPORT) SET(KWSYS_REQUIRE_LARGE_FILE_SUPPORT 1) - ELSE(REQUIRE_LARGE_FILE_SUPPORT) - SET(KWSYS_REQUIRE_LARGE_FILE_SUPPORT 0) ENDIF(REQUIRE_LARGE_FILE_SUPPORT) ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.4) |