COMP: Support cmake older than 2.4
This commit is contained in:
parent
f05fe5f414
commit
22995b56f6
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue