Fix error for no 64bit file support
[alexxy/gromacs.git] / 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()