Changeset 7943
- Timestamp:
- Feb 21, 2011, 2:42:49 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib/cmake/LibraryConfig.cmake
r7941 r7943 93 93 # Performs the search and sets the variables # 94 94 95 FIND_PACKAGE(OGRE 1.4 REQUIRED) 96 #FIND_PACKAGE(ENet 1.1 REQUIRED) 95 FIND_PACKAGE(OGRE 1.4 REQUIRED) 96 #FIND_PACKAGE(ENet 1.1 REQUIRED) 97 FIND_PACKAGE(Lua 5.1 REQUIRED) 97 98 FIND_PACKAGE(Ogg REQUIRED) 98 99 FIND_PACKAGE(Vorbis REQUIRED) … … 112 113 # Lua library functions on the same objects. And it turns out that in this case 113 114 # the linked library must be EXACTLY the same. 114 # That means for us we have to find the Lua library that CEGUI was 115 # linked against if we don't use a dependency package. 116 115 # Since Lua v5.1 has been out for a long while, this does not seem to be a 116 # problem anymore, at least as long as Lua 5.2 is not released. 117 117 FIND_PACKAGE(CEGUI 0.5 REQUIRED) 118 119 ##### Lua #####120 IF(NOT LUA_VERSION_REQUIREMENT)121 FIND_PACKAGE(Lua 5 REQUIRED)122 ELSE()123 FIND_PACKAGE(Lua ${LUA_VERSION_REQUIREMENT} EXACT REQUIRED)124 ENDIF()125 118 126 119 ##### OpenAL #####
Note: See TracChangeset
for help on using the changeset viewer.