Fix copy-paste-error.
authorKim Kulling <kim.kulling@googlemail.com>
Sun, 14 Aug 2016 19:24:00 +0000 (21:24 +0200)
committerKim Kulling <kim.kulling@googlemail.com>
Sun, 14 Aug 2016 19:24:00 +0000 (21:24 +0200)
CMakeLists.txt

index af472a0..8b7ac1a 100644 (file)
@@ -156,7 +156,7 @@ ENDIF()
 
 # Ensure that we do not run into issues like http://www.tcm.phy.cam.ac.uk/sw/inodes64.html on 32 bit linux
 IF( UNIX )
-  IF (BUILD_SHARED_LIBS AND CMAKE_SIZEOF_VOID_P EQUAL 4) # only necessary for 32-bit linux
+  IF ( CMAKE_SIZEOF_VOID_P EQUAL 4) # only necessary for 32-bit linux
     ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64 )
   ENDIF()
 ENDIF()