Ticket #40117: patch-CMakeLists.txt.diff

File patch-CMakeLists.txt.diff, 505 bytes (added by kyle.j.kauffman@…, 11 years ago)

Patch to stop collada-dom from trying to use 64-bit symbols not present on OS X.

  • CMakeLists.txt

    old new  
    127127
    128128if( APPLE OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
    129129  # apple doesn't have 64bit versions of file opening functions, so add them
    130   add_definitions("-Dfopen64=fopen -Dfseeko64=fseeko -Dfseek64=fseek -Dftell64=ftell -Dftello64=ftello")
     130  add_definitions(-DUSE_FILE32API)
    131131endif()
    132132
    133133set(COLLADA_DOM_INCLUDE_INSTALL_DIR "include/collada-dom${COLLADA_DOM_SOVERSION}")