Changeset 8120
- Timestamp:
- Mar 26, 2011, 5:01:44 PM (14 years ago)
- Location:
- code/branches/kicklib/cmake
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/cmake/PackageConfigOSX.cmake
r8119 r8120 33 33 ENDIF() 34 34 35 SET(DEP_INCLUDE_DIR ${DEPENDENCY_PACKAGE_DIR}/include)36 SET(DEP_LIBRARY_DIR ${DEPENDENCY_PACKAGE_DIR}/lib)37 SET(DEP_BINARY_DIR ${DEPENDENCY_PACKAGE_DIR}/bin)35 SET(DEP_INCLUDE_DIR ${DEPENDENCY_PACKAGE_DIR}/include) 36 SET(DEP_LIBRARY_DIR ${DEPENDENCY_PACKAGE_DIR}/lib) 37 SET(DEP_BINARY_DIR ${DEPENDENCY_PACKAGE_DIR}/bin) 38 38 SET(DEP_FRAMEWORK_DIR ${DEPENDENCY_PACKAGE_DIR}/Library/Frameworks) 39 39 40 # Sets the library path for the FIND_LIBRARY 41 SET(CMAKE_LIBRARY_PATH ${DEP_LIBRARY_DIR}) 40 # Sets the library and framwork paths for the FIND_LIBRARY commands 41 SET(CMAKE_LIBRARY_PATH ${DEP_LIBRARY_DIR}) 42 SET(CMAKE_FRAMEWORK_PATH ${DEP_FRAMEWORK_DIR}) 42 43 43 44 # Include paths and other special treatments 44 SET(ENV{ALUTDIR} ${DEP_FRAMEWORK_DIR}) 45 SET(ENV{BOOST_ROOT} ${DEPENDENCY_PACKAGE_DIR}) 46 SET(ENV{CEGUIDIR} ${DEP_FRAMEWORK_DIR}) 47 SET(ENV{CEGUILUADIR} ${DEP_FRAMEWORK_DIR}/CEGUILuaScriptModule.framework) 48 SET(ENV{CEGUITOLUADIR} ${DEP_FRAMEWORK_DIR}/ceguitolua++.framework) 49 SET(ENV{LUA5.1_DIR} $ENV{CEGUILUADIR}/Versions/A/Resources/lua.framework) 50 SET(ENV{OGGDIR} ${DEP_INCLUDE_DIR}) 51 SET(ENV{VORBISDIR} ${DEP_INCLUDE_DIR}) 52 SET(ENV{OGRE_HOME} ${DEP_FRAMEWORK_DIR}) 53 SET(ENV{OGRE_PLUGIN_DIR} ${DEP_BINARY_DIR}) 45 SET(ENV{BOOST_ROOT} ${DEPENDENCY_PACKAGE_DIR}) 46 SET(ENV{LUA5.1_DIR} ${DEP_FRAMEWORK_DIR}/CEGUI.framework/Versions/A/Resources) 47 SET(ENV{OGGDIR} ${DEP_INCLUDE_DIR}) 48 SET(ENV{VORBISDIR} ${DEP_INCLUDE_DIR}) 49 SET(ENV{OGRE_PLUGIN_DIR} ${DEP_BINARY_DIR}) 54 50 55 51 # For OS X 10.5 we have to ship modified headers to make it compile -
code/branches/kicklib/cmake/tools/FindCEGUI.cmake
r8113 r8120 34 34 FIND_PATH(CEGUI_INCLUDE_DIR CEGUI.h 35 35 PATHS $ENV{CEGUIDIR} 36 PATH_SUFFIXES include include/CEGUI Headers36 PATH_SUFFIXES include include/CEGUI 37 37 ) 38 38 … … 60 60 $ENV{CEGUILUADIR} 61 61 ${CEGUI_INCLUDE_DIR}/ScriptingModules/LuaScriptModule 62 PATH_SUFFIXES include include/CEGUI Headers62 PATH_SUFFIXES include include/CEGUI 63 63 ) 64 64 # Find CEGUILua libraries … … 83 83 ${CEGUILUA_INCLUDE_DIR}/support/tolua++ 84 84 # For Mac OS X, tolua++ is a separate framework in the dependency package 85 $ENV{CEGUITOLUADIR} 86 PATH_SUFFIXES Headers 85 ${DEP_FRAMEWORK_DIR} 87 86 NO_DEFAULT_PATH # Don't attempt to find tolua++ installed on the system 88 87 ) … … 108 107 $ENV{CEGUIOGRERENDERERDIR} 109 108 ${CEGUI_INCLUDE_DIR}/RendererModules/Ogre 110 PATH_SUFFIXES include include/CEGUI Headers109 PATH_SUFFIXES include include/CEGUI 111 110 ) 112 111 # Find CEGUI OGRE Renderer libraries
Note: See TracChangeset
for help on using the changeset viewer.