misc/libphysfs/CMakeLists.txt
branch0.9.19
changeset 9129 d8a0a7e42b73
parent 9126 63bf1f4f40f8
equal deleted inserted replaced
9126:63bf1f4f40f8 9129:d8a0a7e42b73
     8 ##PROJECT(PhysicsFS)
     8 ##PROJECT(PhysicsFS)
     9 set(PHYSFS_VERSION 2.1.0)
     9 set(PHYSFS_VERSION 2.1.0)
    10 
    10 
    11 # Increment this if/when we break backwards compatibility.
    11 # Increment this if/when we break backwards compatibility.
    12 set(PHYSFS_SOVERSION 1)
    12 set(PHYSFS_SOVERSION 1)
    13 
       
    14 # 32bit platforms won't link unless this is set
       
    15 if(CMAKE_SIZEOF_VOID_P LESS 8)
       
    16     add_definitions(-DPHYSFS_NO_64BIT_SUPPORT=1)
       
    17 endif(CMAKE_SIZEOF_VOID_P LESS 8)
       
    18 
    13 
    19 # I hate that they define "WIN32" ... we're about to move to Win64...I hope!
    14 # I hate that they define "WIN32" ... we're about to move to Win64...I hope!
    20 if(WIN32 AND NOT WINDOWS)
    15 if(WIN32 AND NOT WINDOWS)
    21     set(WINDOWS TRUE)
    16     set(WINDOWS TRUE)
    22 endif(WIN32 AND NOT WINDOWS)
    17 endif(WIN32 AND NOT WINDOWS)