Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 10, 2011, 5:52:31 PM (13 years ago)
Author:
rgrieder
Message:

Fiddled around with ALUT and OpenAL headers.
The hack in PackageConfigOSX.cmake is just a guess so it really needs testing.

All ALUT and OpenAL headers should now be included with <alut.h> or <al.h> respectively because FindOpenAL.cmake defines the include directories this way.
There is still a hack in LibraryConfig.cmake for non MSVC/Apple systems because alut.h includes al.h with AL/al.h on most systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_osx/cmake/PackageConfigOSX.cmake

    r7682 r8056  
    5151SET(ENV{OGRE_PLUGIN_DIR}       ${DEP_BINARY_DIR})
    5252
     53# For OS X 10.5 we have to ship modified headers to make it compile
     54# on gcc >= 4.2 (binaries stay the same)
     55# Sets the library path for the FIND_LIBRARY
     56IF(CMAKE_SYSTEM_VERSION STREQUAL "10.5")
     57  SET(ENV{OPENALDIR} ${DEP_INCLUDE_DIR}/openal)
     58ENDIF()
     59
    5360# Xcode won't be able to run the toluabind code generation if we're using the dependency package
    5461#IF(DEPENDENCY_PACKAGE_ENABLE)
Note: See TracChangeset for help on using the changeset viewer.