equal
deleted
inserted
replaced
31 endif(CMAKE_SYSTEM_NAME STREQUAL "SunOS") |
31 endif(CMAKE_SYSTEM_NAME STREQUAL "SunOS") |
32 |
32 |
33 include(CheckIncludeFile) |
33 include(CheckIncludeFile) |
34 include(CheckLibraryExists) |
34 include(CheckLibraryExists) |
35 include(CheckCSourceCompiles) |
35 include(CheckCSourceCompiles) |
|
36 |
|
37 |
|
38 # 32bit platforms won't link unless this is set |
|
39 # although Windows doesn't like it |
|
40 if(NOT WINDOWS) |
|
41 if(CMAKE_SIZEOF_VOID_P LESS 8) |
|
42 add_definitions(-DPHYSFS_NO_64BIT_SUPPORT=1) |
|
43 endif(CMAKE_SIZEOF_VOID_P LESS 8) |
|
44 endif(NOT WINDOWS) |
36 |
45 |
37 |
46 |
38 if(MACOSX) |
47 if(MACOSX) |
39 # Fallback to older OS X on PowerPC to support wider range of systems... |
48 # Fallback to older OS X on PowerPC to support wider range of systems... |
40 if(CMAKE_OSX_ARCHITECTURES MATCHES ppc) |
49 if(CMAKE_OSX_ARCHITECTURES MATCHES ppc) |