Skip to content

Commit

Permalink
Export old include dir for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jspricke committed Jan 18, 2017
1 parent 93b64b8 commit 838e824
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utilities/xmlrpcpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ if(NOT WIN32)
endif()

find_package(catkin REQUIRED COMPONENTS cpp_common)

# The CFG_EXTRAS is only for compatibility, to be removed in Lunar.
catkin_package(
INCLUDE_DIRS include
LIBRARIES xmlrpcpp
CATKIN_DEPENDS cpp_common
CFG_EXTRAS xmlrpcpp-extras.cmake
)

include_directories(include ${catkin_INCLUDE_DIRS})
Expand Down
1 change: 1 addition & 0 deletions utilities/xmlrpcpp/cmake/xmlrpcpp-extras.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
list(APPEND @PROJECT_NAME@_INCLUDE_DIRS "${@PROJECT_NAME@_DIR}/../../../@CATKIN_GLOBAL_INCLUDE_DESTINATION@/xmlrpcpp")

0 comments on commit 838e824

Please sign in to comment.