Fix error for no 64bit file support
authorRoland Schulz <roland@utk.edu>
Sat, 28 Jun 2014 04:58:55 +0000 (00:58 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 28 Jun 2014 18:59:55 +0000 (20:59 +0200)
Because the cache was set the error wasn't shown after
rerunning cmake.

Change-Id: I9def74eaecd02d2f2bfc6c40b7954404e2890717

cmake/gmxTestLargeFiles.cmake

index 6753022e28ce3313e528e7c6f93fbc4bb90671db..0fe66751434e326f8cd093c983d3554080c54650 100644 (file)
@@ -149,7 +149,6 @@ MACRO(GMX_TEST_LARGE_FILES VARIABLE)
             if(SIZEOF_LONG_INT EQUAL 8) #standard fseek is OK for 64bit
                 SET(${VARIABLE} 1 CACHE INTERNAL "Result of test for large file support" FORCE)
             else()
-                SET(${VARIABLE} 0 CACHE INTERNAL "Result of test for large file support" FORCE)
                 MESSAGE(FATAL_ERROR "Checking for 64bit file support failed.")
             endif()
         endif()