Changeset 2399 for code/branches/buildsystem/cmake
- Timestamp:
- Dec 10, 2008, 9:45:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem/cmake/UseTolua.cmake
r2243 r2399 18 18 SET(_tolua_executable_name toluaexe_orxonox) 19 19 GET_TARGET_PROPERTY(TOLUA_EXECUTABLE "${_tolua_executable_name}" LOCATION) 20 IF(MINGW_LIBRARY_DIR) 21 SET(_tolua_command_wd "WORKING_DIRECTORY;${MINGW_LIBRARY_DIR}/lua-5.1.3/lib") 22 ELSE(MINGW_LIBRARY_DIR) 23 SET(_tolua_command_wd) 24 ENDIF(MINGW_LIBRARY_DIR) 20 25 21 26 MACRO(TOLUA _tolua_package _tolua_srcfiles_varname) … … 45 50 DEPENDS "${_tolua_executable_name}" ${TOLUA_PARSER_DEPENDENCIES} 46 51 IMPLICIT_DEPENDS CXX ${_tolua_inputfiles} 47 WORKING_DIRECTORY "${LIBRARY_OUTPUT_PATH}"52 ${_tolua_command_wd} 48 53 ) 49 54 ENDMACRO(TOLUA)
Note: See TracChangeset
for help on using the changeset viewer.