Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 4, 2007, 3:11:29 PM (17 years ago)
Author:
nicolape
Message:

Added tardis alut dir and changed cmake to load all audio stuff from system libs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/audio/cmake/FindOpenAL.cmake

    r345 r377  
    99# used in building OpenAL.
    1010#
     11
    1112# Created by Eric Wing. This was influenced by the FindSDL.cmake module.
    1213# On OSX, this will prefer the Framework version (if found) over others.
     
    1617# But for now, we have to look around.
    1718# Other (Unix) systems should be able to utilize the non-framework paths.
    18 FIND_PATH(OPENAL_INCLUDE_DIR al.h
     19FIND_PATH(OPENAL_INCLUDE_DIR AL/al.h
    1920  $ENV{OPENALDIR}/include
    2021  ~/Library/Frameworks/OpenAL.framework/Headers
    2122  /Library/Frameworks/OpenAL.framework/Headers
    2223  /System/Library/Frameworks/OpenAL.framework/Headers # Tiger
    23   /usr/pack/openal-0.0.8-cl/include/AL # Tardis specific hack
    24   /usr/local/include/AL
     24  /usr/pack/openal-0.0.8-cl/include # Tardis specific hack
     25  /usr/local/include/
    2526  /usr/local/include/OpenAL
    2627  /usr/local/include
    27   /usr/include/AL
     28  /usr/include/
    2829  /usr/include/OpenAL
    2930  /usr/include
    30   /sw/include/AL # Fink
     31  /sw/include # Fink
    3132  /sw/include/OpenAL
    3233  /sw/include
    33   /opt/local/include/AL # DarwinPorts
     34  /opt/local/include # DarwinPorts
    3435  /opt/local/include/OpenAL
    3536  /opt/local/include
    36   /opt/csw/include/AL # Blastwave
     37  /opt/csw/include # Blastwave
    3738  /opt/csw/include/OpenAL
    3839  /opt/csw/include
    39   /opt/include/AL
     40  /opt/include
    4041  /opt/include/OpenAL
    4142  /opt/include
     
    6970    $ENV{OPENALDIR}/lib
    7071    $ENV{OPENALDIR}/libs
     72                /usr/pack/openal-0.0.8-cl/i686-debian-linux3.1/lib
    7173    /usr/local/lib
    7274    /usr/lib
     
    8183IF(OPENAL_LIBRARY)
    8284  SET(OPENAL_FOUND "YES")
     85        MESSAGE(STATUS "OpenAL was found. Libdir ${OPENAL_LIBRARY} Includedir ${OPENAL_INCLUDE_DIR}")
    8386ENDIF(OPENAL_LIBRARY)
    8487
Note: See TracChangeset for help on using the changeset viewer.