Quellcode durchsuchen

Merge pull request #979 from assimp/issue_975

Fix copy-paste-error.
Kim Kulling vor 9 Jahren
Ursprung
Commit
644557c6d6
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -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()