Skip to content
Snippets Groups Projects
Commit 9c13072a authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Support cmake older than 2.4

parent cf71aba0
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment