Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8094 for code/branches/kicklib


Ignore:
Timestamp:
Mar 19, 2011, 2:58:11 PM (14 years ago)
Author:
youngk
Message:

Testing commit for CMake find scripts (Mac)

Location:
code/branches/kicklib/cmake
Files:
2 edited

Legend:

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

    r8073 r8094  
    4646SET(ENV{CEGUIDIR}              ${DEP_FRAMEWORK_DIR})
    4747SET(ENV{LUA_DIR}               ${DEP_INCLUDE_DIR}/lua)
     48SET(ENV{LUA5.1_DIR}            ${DEP_INCLUDE_DIR}/lua)
    4849SET(ENV{OGGDIR}                ${DEP_INCLUDE_DIR})
    4950SET(ENV{VORBISDIR}             ${DEP_INCLUDE_DIR})
  • code/branches/kicklib/cmake/tools/FindCEGUI.cmake

    r8082 r8094  
    4444  NAMES CEGUIBase CEGUI
    4545  PATHS $ENV{CEGUIDIR}
    46   PATH_SUFFIXES lib bin
     46  PATH_SUFFIXES lib bin CEGUIBase.framework CEGUI.framework
    4747)
    4848FIND_LIBRARY(CEGUI_LIBRARY_DEBUG
     
    5757FIND_PATH(CEGUILUA_INCLUDE_DIR CEGUILua.h
    5858  PATHS $ENV{CEGUIDIR} ${CEGUI_INCLUDE_DIR}/ScriptingModules/LuaScriptModule
    59   PATH_SUFFIXES include include/CEGUI CEGUI.framework/Headers
     59  PATH_SUFFIXES include include/CEGUI CEGUILuaScriptModule.framework/Headers
    6060)
    6161# Find CEGUILua libraries
     
    6363  NAMES CEGUILua CEGUILuaScriptModule
    6464  PATHS $ENV{CEGUIDIR}
    65   PATH_SUFFIXES lib bin
     65  PATH_SUFFIXES lib bin CEGUILuaScriptModule.framework
    6666)
    6767FIND_LIBRARY(CEGUILUA_LIBRARY_DEBUG
     
    7979    # For newer CEGUI versions >= 0.7
    8080    ${CEGUILUA_INCLUDE_DIR}/support/tolua++
     81    # For Apples
     82    $ENV{CEGUIDIR}
     83  PATH_SUFFIXES ceguitolua++.framework/Headers
    8184  NO_DEFAULT_PATH # MUST be in CEGUILUA_INCLUDE_DIR somewhere
    8285)
    8386# Find CEGUI Tolua++ libraries
    8487FIND_LIBRARY(CEGUI_TOLUA_LIBRARY_OPTIMIZED
    85   NAMES CEGUItoluapp tolua++
     88  NAMES CEGUItoluapp tolua++ ceguitolua++
    8689  PATHS $ENV{CEGUIDIR}
    87   PATH_SUFFIXES lib bin
     90  PATH_SUFFIXES lib bin ceguitolua++.framework
    8891)
    8992FIND_LIBRARY(CEGUI_TOLUA_LIBRARY_DEBUG
Note: See TracChangeset for help on using the changeset viewer.