Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 27, 2010, 5:47:50 PM (14 years ago)
Author:
youngk
Message:

Adjusted inclusion of ALUT header files for mac and edited the PackageConfigOSX script.

File:
1 edited

Legend:

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

    r7582 r7591  
    3636SET(DEP_LIBRARY_DIR ${DEPENDENCY_PACKAGE_DIR}/lib)
    3737SET(DEP_BINARY_DIR  ${DEPENDENCY_PACKAGE_DIR}/bin)
     38SET(DEP_FRAMEWORK_DIR ${DEPENDENCY_PACKAGE_DIR}/Library/Frameworks)
    3839
    3940# Sets the library path for the FIND_LIBRARY
     
    4243# Certain find scripts don't behave as ecpected so we have
    4344# to specify the libraries ourselves.
    44 SET(TCL_LIBRARY  ${DEP_BINARY_DIR}/tcl85.dll CACHE FILEPATH "")
    45 SET(ZLIB_LIBRARY ${DEP_BINARY_DIR}/zlib1.dll CACHE FILEPATH "")
     45#SET(TCL_LIBRARY  ${DEP_BINARY_DIR}/tcl85.dll CACHE FILEPATH "")
     46#SET(ZLIB_LIBRARY ${DEP_BINARY_DIR}/zlib1.dll CACHE FILEPATH "")
    4647
    4748# Include paths and other special treatments
    48 SET(ENV{ALUTDIR}               ${DEP_INCLUDE_DIR}/freealut)
    49 SET(ENV{BOOST_ROOT}            ${DEP_INCLUDE_DIR}/boost)
    50 SET(ENV{CEGUIDIR}              ${DEP_INCLUDE_DIR}/cegui)
    51 SET(ENV{DBGHELP_DIR}           ${DEP_INCLUDE_DIR}/dbghelp)
    52 SET(ENV{DXSDK_DIR}             ${DEP_INCLUDE_DIR}/directx)
     49#SET(ENV{ALUTDIR}               ${DEP_FRAMEWORK_DIR})
     50SET(ENV{BOOST_ROOT}            ${DEPENDENCY_PACKAGE_DIR})
     51SET(ENV{CEGUIDIR}              ${DEP_FRAMEWORK_DIR})
     52#SET(ENV{DBGHELP_DIR}           ${DEP_INCLUDE_DIR}/dbghelp)
     53#SET(ENV{DXSDK_DIR}             ${DEP_INCLUDE_DIR}/directx)
    5354#SET(ENV{ENETDIR}               ${DEP_INCLUDE_DIR}/enet)
    5455SET(ENV{LUA_DIR}               ${DEP_INCLUDE_DIR}/lua)
    55 SET(ENV{OGGDIR}                ${DEP_INCLUDE_DIR}/libogg)
    56 SET(ENV{VORBISDIR}             ${DEP_INCLUDE_DIR}/libvorbis)
    57 SET(ENV{OGRE_HOME}             ${DEP_INCLUDE_DIR}/ogre)
     56SET(ENV{OGGDIR}                ${DEP_INCLUDE_DIR})
     57SET(ENV{VORBISDIR}             ${DEP_INCLUDE_DIR})
     58SET(ENV{OGRE_HOME}             ${DEP_FRAMEWORK_DIR})
    5859SET(ENV{OGRE_PLUGIN_DIR}       ${DEP_BINARY_DIR})
    59 SET(ENV{OPENALDIR}             ${DEP_INCLUDE_DIR}/openal)
    60 SET(ENV{POCODIR}               ${DEP_INCLUDE_DIR}/poco)
    61 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/tcl/include)
    62 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/zlib/include)
     60#SET(ENV{OPENALDIR}             ${DEP_INCLUDE_DIR}/openal)
     61#SET(ENV{POCODIR}               ${DEP_INCLUDE_DIR}/poco)
     62#LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/tcl/include)
     63#LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/zlib/include)
    6364
    6465### INSTALL ###
Note: See TracChangeset for help on using the changeset viewer.