Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7943 for code/branches/kicklib


Ignore:
Timestamp:
Feb 21, 2011, 2:42:49 AM (14 years ago)
Author:
rgrieder
Message:

Dropped support for Lua 5.0 in favour of v5.1. It also seems that all major Linux distributions (Debian, Ubuntu, Gentoo, Arch Linux and Fedora) compile CEGUI with Lua 5.1

File:
1 edited

Legend:

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

    r7941 r7943  
    9393# Performs the search and sets the variables    #
    9494
    95 FIND_PACKAGE(OGRE  1.4       REQUIRED)
    96 #FIND_PACKAGE(ENet  1.1       REQUIRED)
     95FIND_PACKAGE(OGRE     1.4    REQUIRED)
     96#FIND_PACKAGE(ENet     1.1    REQUIRED)
     97FIND_PACKAGE(Lua      5.1    REQUIRED)
    9798FIND_PACKAGE(Ogg             REQUIRED)
    9899FIND_PACKAGE(Vorbis          REQUIRED)
     
    112113# Lua library functions on the same objects. And it turns out that in this case
    113114# 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.
    117117FIND_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()
    125118
    126119##### OpenAL #####
Note: See TracChangeset for help on using the changeset viewer.