Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 16, 2008, 10:05:37 AM (16 years ago)
Author:
rgrieder
Message:

two hours of Fuk is very 'enlighting', the whole thing works now.\ncmake. will now build lua, then compile with tolua and finally create the Makefiles for orxonox.\n

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/util/tolua/CMakeLists.txt

    r1075 r1076  
    22
    33#This sets where to look for modules (e.g. "Find*.cmake" files)
    4 SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
     4SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/)
    55
    66#Check whether we are on a tardis box
     
    1717
    1818#set binary output directories
    19 SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    20 SET(LIBRARY_OUTPUT_PATH    ${PROJECT_BINARY_DIR}/bin/lib)
     19SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../../../bin)
     20SET(LIBRARY_OUTPUT_PATH    ${PROJECT_BINARY_DIR}/../../../bin)
    2121
    2222# global compiler/linker flags. force -O2!
     
    3939#Set the search paths for the linking
    4040LINK_DIRECTORIES(
    41   ${Lua_LIBRARIES}
    42   m
    4341)
    4442
     
    6563TARGET_LINK_LIBRARIES( tolua
    6664  ${Lua_LIBRARIES}
     65  ${Lua_LIBRARY}
     66  m
    6767)
Note: See TracChangeset for help on using the changeset viewer.