Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1029 for code/trunk/cmake


Ignore:
Timestamp:
Apr 11, 2008, 7:01:02 PM (17 years ago)
Author:
bknecht
Message:

some changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/FindLua.cmake

    r1021 r1029  
    2727        /usr/include/lua50
    2828        /usr/local/include/lua50
    29         /usr/pack/lua-5.0.3-sd/include/)
     29        /usr/pack/lua-5.0.3-sd/include)
    3030ENDIF (NOT Lua_INCLUDE_DIR)
    31 MESSAGE(STATUS ${Lua_INCLUDE_DIR})
    3231
    3332IF (NOT Lua_LIBRARIES)
    34 FIND_LIBRARY(Lua_LIBRARIES lua50 lua
     33FIND_LIBRARY(Lua_LIBRARIES lua50
    3534        /usr/lib
    36         /usr/local/lib
    37         /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1/lib/)
     35        /usr/local/lib)
    3836
    39 FIND_LIBRARY(Lua_LIBRARY lualib50 lualib
     37FIND_LIBRARY(Lua_LIBRARY lualib50
    4038        /usr/lib
    41         /usr/local/lib
    42         /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1/lib/)
     39        /usr/local/lib)
    4340
    44 MESSAGE(STATUS ${Lua_LIBRARY})
    45 MESSAGE(STATUS ${Lua_LIBRARIES})
     41SET(Lua_LIBRARIES ${Lua_LIBRARIES} ${Lua_LIBRARY})
     42
     43ENDIF (NOT Lua_LIBRARIES)
     44
     45IF (NOT Lua_LIBRARIES)
     46FIND_LIBRARY(Lua_LIBRARIES lua
     47        /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1/lib)
     48
     49FIND_LIBRARY(Lua_LIBRARY lualib
     50        /usr/pack/lua-5.0.3-sd/i686-debian-linux3.1/lib)
    4651
    4752SET(Lua_LIBRARIES ${Lua_LIBRARIES} ${Lua_LIBRARY})
Note: See TracChangeset for help on using the changeset viewer.