Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2008, 4:15:04 PM (16 years ago)
Author:
adrfried
Message:

lua check fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/CMakeLists.txt

    r2277 r2325  
    5252FIND_PACKAGE(OGRE REQUIRED)
    5353FIND_PACKAGE(CEGUI REQUIRED)
    54 # CEGUI_OGRE included in source
     54# CEGUI_OGRE is already included in source
    5555#FIND_PACKAGE(CEGUI_OGRE REQUIRED)
    5656FIND_PACKAGE(ENet REQUIRED)
     
    6161FIND_PACKAGE(ZLIB REQUIRED)
    6262FIND_PACKAGE(DirectX REQUIRED)
    63 FIND_PACKAGE(Lua50 REQUIRED)
    64 #FIND_PACKAGE(Lua51 QUIET)
    6563
    66 #don't require the whole tcl rat tail
     64# Require Lua 5.0 or 5.1
     65FIND_PACKAGE(Lua50 QUIET)
     66IF(NOT LUA50_FOUND)
     67    FIND_PACKAGE(Lua51 REQUIRED)
     68ENDIF(NOT LUA50_FOUND)
     69
     70# Don't require the whole tcl rat tail
    6771FIND_PACKAGE(TCL QUIET)
    6872IF(NOT TCL_FOUND)
Note: See TracChangeset for help on using the changeset viewer.