Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ cmake_minimum_required(VERSION 2.8.3)
project(rttlua_completion)

find_package(catkin REQUIRED)
catkin_package()

find_package(Lua51 REQUIRED)

catkin_package(
DEPENDS Lua51
)
catkin_add_env_hooks(10.rttlua_completion SHELLS sh DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/env-hooks)

#############
Expand All @@ -12,8 +17,6 @@ catkin_add_env_hooks(10.rttlua_completion SHELLS sh DIRECTORY ${CMAKE_CURRENT_SO
# all install targets should use catkin DESTINATION variables
# See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html

find_package(Lua51 REQUIRED)

# Copied from rtt/config/check_depend.cmake
FIND_PATH( READLINE_H readline/readline.h )
IF ( READLINE_H )
Expand Down
3 changes: 3 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<!-- Dependencies can be catkin packages or system dependencies -->
<buildtool_depend>catkin</buildtool_depend>

<build_depend>lua-dev</build_depend>
<run_depend>lua-dev</run_depend>

<run_depend>ocl</run_depend>

</package>