summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-08-23 12:07:41 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-08-23 12:07:41 (GMT)
commit22995b56f6f32e7cc2332370f1a58286dc76e490 (patch)
treea421ba54022b8ddc29799ae6d5136ea0e1cfe421 /Source/kwsys
parentf05fe5f4146eb6f36b7fac3ba44d77b5e34ffcd1 (diff)
downloadCMake-22995b56f6f32e7cc2332370f1a58286dc76e490.zip
CMake-22995b56f6f32e7cc2332370f1a58286dc76e490.tar.gz
CMake-22995b56f6f32e7cc2332370f1a58286dc76e490.tar.bz2
COMP: Support cmake older than 2.4
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/CMakeLists.txt3
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)