misc/libphysfs/CMakeLists.txt
branch0.9.19
changeset 9110 3883b5dc600c
parent 8544 d610e692e2f6
child 9117 1bed4aee19e0
equal deleted inserted replaced
9108:83cc372c05d9 9110:3883b5dc600c
     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)
    13 
    18 
    14 # I hate that they define "WIN32" ... we're about to move to Win64...I hope!
    19 # I hate that they define "WIN32" ... we're about to move to Win64...I hope!
    15 if(WIN32 AND NOT WINDOWS)
    20 if(WIN32 AND NOT WINDOWS)
    16     set(WINDOWS TRUE)
    21     set(WINDOWS TRUE)
    17 endif(WIN32 AND NOT WINDOWS)
    22 endif(WIN32 AND NOT WINDOWS)