summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-02-21 18:33:19 (GMT)
committerBrad King <brad.king@kitware.com>2007-02-21 18:33:19 (GMT)
commit53c72ed6c3712c78f6c68e4e0093ac326577609a (patch)
tree19c35dca217490a05141377e71e26d6e164102d9 /Source
parentd160362e83b4da14ec96cc7b02c1990190eebe05 (diff)
downloadCMake-53c72ed6c3712c78f6c68e4e0093ac326577609a.zip
CMake-53c72ed6c3712c78f6c68e4e0093ac326577609a.tar.gz
CMake-53c72ed6c3712c78f6c68e4e0093ac326577609a.tar.bz2
COMP: Disable LFS on AIX.
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index 3710a64..e8f1646 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -135,6 +135,13 @@ ENDIF(KWSYS_STANDALONE OR CMake_SOURCE_DIR)
# The project name is that of the specified namespace.
PROJECT(${KWSYS_NAMESPACE})
+# Setup the large file support default.
+IF(KWSYS_LFS_DISABLE)
+ SET(KWSYS_LFS_REQUESTED 0)
+ELSE(KWSYS_LFS_DISABLE)
+ SET(KWSYS_LFS_REQUESTED 1)
+ENDIF(KWSYS_LFS_DISABLE)
+
# Enable testing if building standalone.
IF(KWSYS_STANDALONE)
INCLUDE(Dart)
@@ -283,7 +290,6 @@ ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
#-----------------------------------------------------------------------------
# Configure Large File Support.
-SET(KWSYS_LFS_REQUESTED 1)
SET(KWSYS_LFS_AVAILABLE 0)
IF(KWSYS_LFS_REQUESTED)
# Large File Support is requested.