diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-08-23 12:07:41 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-08-23 12:07:41 (GMT) |
commit | 22995b56f6f32e7cc2332370f1a58286dc76e490 (patch) | |
tree | a421ba54022b8ddc29799ae6d5136ea0e1cfe421 /Source/kwsys | |
parent | f05fe5f4146eb6f36b7fac3ba44d77b5e34ffcd1 (diff) | |
download | CMake-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.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) |