Skip to content

Commit

Permalink
or lets call it catkin_export_python instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten Kjaergaard committed Jan 4, 2012
1 parent f0b8133 commit b050f60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ install(PROGRAMS
DESTINATION ${CMAKE_INSTALL_PREFIX}
)

export_python_dirs(python)
export_python(python)

stamp(cmake/stack_get.py)

Expand Down
4 changes: 2 additions & 2 deletions cmake/enable_python.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Give directories with python stuff as arguments (only relative directories)
function(export_python_dirs)
function(catkin_export_python)
assert(PROJECT_NAME)

# Use PROJECT_NAME as pkg_name
Expand Down Expand Up @@ -94,5 +94,5 @@ stamp(${catkin_EXTRAS_DIR}/interrogate_setup_dot_py.py)

function(enable_python)
message(WARNING "CMAKE macro enable_python replaced by export_python_dirs")
export_python_dirs(${ARGN})
catkin_export_python(${ARGN})
endfunction()

0 comments on commit b050f60

Please sign in to comment.